Settings_Groups_Module_Model
extends Settings_Vtiger_Module_Model
in package
Settings module model class for groups.
Table of Contents
- $baseIndex : mixed
- $baseTable : mixed
- $editFields : array<string|int, string>
- $listFields : mixed
- $name : mixed
- getCreateRecordUrl() : string
- Function to get the url for create view of the module.
- getDefaultUrl() : string
- Function to get the url for default view of the module.
- getEditableFields() : array<string|int, mixed>
- Editable fields.
- getEditViewStructure() : array<string|int, mixed>
- Get structure fields.
- getFieldInstanceByName() : Vtiger_Field_Model
- Get fields instance by name.
Properties
$baseIndex
public
mixed
$baseIndex
= 'groupid'
$baseTable
public
mixed
$baseTable
= 'vtiger_groups'
$editFields
public
array<string|int, string>
$editFields
= ['groupname', 'description', 'parentid', 'modules', 'members']
Fields name for edit view
$listFields
public
mixed
$listFields
= ['groupname' => 'Name', 'description' => 'Description']
$name
public
mixed
$name
= 'Groups'
Methods
getCreateRecordUrl()
Function to get the url for create view of the module.
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
getEditableFields()
Editable fields.
public
getEditableFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getEditViewStructure()
Get structure fields.
public
getEditViewStructure([Settings_Groups_Record_Model|null $recordModel = null ]) : array<string|int, mixed>
Parameters
- $recordModel : Settings_Groups_Record_Model|null = null
Return values
array<string|int, mixed> —getFieldInstanceByName()
Get fields instance by name.
public
getFieldInstanceByName(string $name) : Vtiger_Field_Model
Parameters
- $name : string