Settings_Wapro_Module_Model
extends Settings_Vtiger_Module_Model
in package
Settings WAPRO ERP module model class.
Table of Contents
- $baseIndex : mixed
- {@inheritdoc}
- $baseTable : mixed
- {@inheritdoc}
- $formFields : array<string|int, mixed>
- $listFields : mixed
- {@inheritdoc}
- $name : mixed
- {@inheritdoc}
- getCreateRecordUrl() : mixed
- {@inheritdoc}
- getDefaultUrl() : mixed
- {@inheritdoc}
- getFormFields() : array<string|int, mixed>
- Return list fields in form.
Properties
$baseIndex
{@inheritdoc}
public
mixed
$baseIndex
= 'id'
$baseTable
{@inheritdoc}
public
mixed
$baseTable
= \App\Integrations\Wapro::TABLE_NAME
$formFields
public
static array<string|int, mixed>
$formFields
= ['name' => ['required' => 1, 'default' => '', 'purifyType' => \APP\Purifier::TEXT, 'label' => 'FL_NAME', 'maximumlength' => 255], 'status' => ['required' => 0, 'purifyType' => \App\Purifier::BOOL, 'label' => 'FL_STATUS', 'maximumlength' => 2], 'server' => ['required' => 1, 'purifyType' => 'ipOrDomain', 'label' => 'FL_SERVER', 'maximumlength' => 255], 'port' => ['required' => 0, 'purifyType' => 'port', 'label' => 'FL_PORT', 'maximumlength' => 255, 'default' => 1433], 'database' => ['required' => 1, 'purifyType' => 'dbName', 'label' => 'FL_DATABASE', 'maximumlength' => 255], 'username' => ['required' => 1, 'purifyType' => 'dbUserName', 'label' => 'FL_USERNAME', 'maximumlength' => 255], 'password' => ['required' => 1, 'purifyType' => \App\Purifier::TEXT, 'label' => 'FL_PASSWORD', 'maximumlength' => 150]]
Field form array.
$listFields
{@inheritdoc}
public
mixed
$listFields
= ['name' => 'FL_NAME', 'status' => 'FL_STATUS', 'server' => 'FL_SERVER', 'database' => 'FL_DATABASE', 'username' => 'FL_USERNAME']
$name
{@inheritdoc}
public
mixed
$name
= 'Wapro'
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, mixed>