Settings_PickListDependency_Module_Model
extends Settings_Vtiger_Module_Model
in package
Table of Contents
- $baseIndex : string
- $baseTable : string
- $editFields : array<string|int, mixed>
- $listFields : array<string|int, mixed>
- $name : string
- $nameFields : array<string|int, mixed>
- $parent : string
- getConditionBuilderStructure() : voiarrayd
- Get condition builder structure.
- getCreateRecordUrl() : string
- Function to get the url for Adding Dependency.
- getDefaultUrl() : string
- Function to get the url for default view of the module.
- getEditViewStructure() : array<string|int, mixed>
- Get structure fields.
- getListFields() : array<string|int, mixed>
- {@inheritdoc}
- getPicklistSupportedModules() : array<string|int, mixed>
- Get picklist supported modules.
Properties
$baseIndex
public
string
$baseIndex
= 'id'
Base index.
$baseTable
public
string
$baseTable
= 's_#__picklist_dependency'
Base table.
$editFields
public
array<string|int, mixed>
$editFields
= ['tabid', 'source_field']
Name fields.
$listFields
public
array<string|int, mixed>
$listFields
= ['tabid' => 'LBL_MODULE', 'source_field' => 'LBL_SOURCE_FIELD']
List fields.
$name
public
string
$name
= 'PickListDependency'
Module name.
$nameFields
public
array<string|int, mixed>
$nameFields
= ['name']
Name fields.
$parent
public
string
$parent
= 'Settings'
Module name.
Methods
getConditionBuilderStructure()
Get condition builder structure.
public
static getConditionBuilderStructure(Vtiger_Module_Model $moduleModel, string|null $skipfield) : voiarrayd
Parameters
- $moduleModel : Vtiger_Module_Model
- $skipfield : string|null
Return values
voiarrayd —getCreateRecordUrl()
Function to get the url for Adding Dependency.
public
getCreateRecordUrl() : string
Return values
string —- url
getDefaultUrl()
Function to get the url for default view of the module.
public
getDefaultUrl() : string
Return values
string —- url
getEditViewStructure()
Get structure fields.
public
getEditViewStructure(Settings_PickListDependency_Record_Model|null $recordModel) : array<string|int, mixed>
Parameters
- $recordModel : Settings_PickListDependency_Record_Model|null
Return values
array<string|int, mixed> —getListFields()
{@inheritdoc}
public
getListFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPicklistSupportedModules()
Get picklist supported modules.
public
static getPicklistSupportedModules() : array<string|int, mixed>