Documentation

Settings_Magento_Module_Model extends Settings_Vtiger_Module_Model
in package

Magento Module Model Class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Arkadiusz Dudek a.dudek@yetiforce.com

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

Table of Contents

$baseIndex  : mixed
{@inheritdoc}
$baseTable  : mixed
{@inheritdoc}
$formFields  : array<string|int, array<string|int, mixed>>
Field form array.
$listFields  : mixed
{@inheritdoc}
$name  : mixed
{@inheritdoc}
getCreateRecordUrl()  : mixed
{@inheritdoc}
getDefaultUrl()  : mixed
{@inheritdoc}
getFormFields()  : array<string|int, array<string|int, mixed>>
Return list fields in form.
isActive()  : bool
Function to check if the functionality is enabled.

Properties

$baseIndex

{@inheritdoc}

public mixed $baseIndex = 'id'

$baseTable

{@inheritdoc}

public mixed $baseTable = 'i_#__magento_servers'

$formFields

Field form array.

public static array<string|int, array<string|int, mixed>> $formFields = ['status' => ['required' => 0, 'purifyType' => 'Integer'], 'name' => ['required' => 1, 'purifyType' => 'Text'], 'url' => ['required' => 1, 'purifyType' => 'Url'], 'user_name' => ['required' => 1, 'default' => '', 'purifyType' => 'Text'], 'password' => ['required' => 1, 'default' => '', 'purifyType' => ''], 'connector' => ['required' => 1, 'default' => 'Token', 'purifyType' => 'Standard'], 'store_code' => ['required' => 1, 'default' => 'all', 'purifyType' => 'Alnum'], 'store_id' => ['required' => 1, 'default' => 1, 'min' => 1, 'purifyType' => 'Integer'], 'storage_id' => ['required' => 0, 'default' => 0, 'tooltip' => \true, 'purifyType' => 'Integer'], 'storage_quantity_location' => ['required' => 1, 'tooltip' => \true, 'default' => 'Products', 'purifyType' => 'Text'], 'shipping_service_id' => ['required' => 0, 'default' => 0, 'tooltip' => \true, 'min' => 0, 'purifyType' => 'Integer'], 'payment_paypal_service_id' => ['required' => 0, 'default' => 0, 'tooltip' => \true, 'min' => 0, 'purifyType' => 'Integer'], 'payment_cash_service_id' => ['required' => 0, 'default' => 0, 'tooltip' => \true, 'min' => 0, 'purifyType' => 'Integer'], 'sync_currency' => ['required' => 1, 'default' => \true, 'tooltip' => \true, 'purifyType' => 'Integer'], 'sync_categories' => ['required' => 1, 'default' => \true, 'tooltip' => \true, 'purifyType' => 'Integer'], 'sync_products' => ['required' => 1, 'default' => \true, 'purifyType' => 'Integer'], 'sync_customers' => ['required' => 1, 'default' => \true, 'tooltip' => \true, 'purifyType' => 'Integer'], 'sync_orders' => ['required' => 1, 'default' => \true, 'tooltip' => \true, 'purifyType' => 'Integer'], 'sync_invoices' => ['required' => 1, 'default' => \true, 'tooltip' => \true, 'purifyType' => 'Integer'], 'categories_limit' => ['required' => 1, 'default' => 200, 'min' => 1, 'purifyType' => 'Text'], 'products_limit' => ['required' => 1, 'default' => 1000, 'min' => 1, 'purifyType' => 'Text'], 'customers_limit' => ['required' => 1, 'default' => 1000, 'min' => 1, 'purifyType' => 'Text'], 'orders_limit' => ['required' => 1, 'default' => 200, 'min' => 1, 'purifyType' => 'Text'], 'invoices_limit' => ['required' => 1, 'default' => 200, 'min' => 1, 'purifyType' => 'Text'], 'product_map_class' => ['required' => 0, 'default' => '', 'tooltip' => \true, 'purifyType' => 'ClassName'], 'customer_map_class' => ['required' => 0, 'default' => '', 'tooltip' => \true, 'purifyType' => 'ClassName'], 'order_map_class' => ['required' => 0, 'default' => '', 'tooltip' => \true, 'purifyType' => 'ClassName'], 'invoice_map_class' => ['required' => 0, 'default' => '', 'tooltip' => \true, 'purifyType' => 'ClassName']]

$listFields

{@inheritdoc}

public mixed $listFields = ['name' => 'LBL_NAME', 'status' => 'LBL_STATUS', 'url' => 'LBL_URL', 'user_name' => 'LBL_USER_NAME']

$name

{@inheritdoc}

public mixed $name = 'Magento'

Methods

getCreateRecordUrl()

{@inheritdoc}

public getCreateRecordUrl() : mixed
Return values
mixed

getDefaultUrl()

{@inheritdoc}

public getDefaultUrl() : mixed
Return values
mixed

getFormFields()

Return list fields in form.

public getFormFields() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

isActive()

Function to check if the functionality is enabled.

public static isActive() : bool
Return values
bool

        

Search results