Documentation

Settings_AutomaticAssignment_Module_Model extends Settings_Vtiger_Module_Model
in package

Automatic assignment module model class.

Tags
copyright

YetiForce S.A.

license

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

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

Table of Contents

$baseIndex  : mixed
{@inheritdoc}
$baseTable  : mixed
{@inheritdoc}
$customFieldTable  : array<string|int, mixed>
$editFields  : array<string|int, string>
$listFields  : mixed
{@inheritdoc}
$name  : mixed
{@inheritdoc}
getBlockIcon()  : string
Get block icon.
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.
getEditViewUrl()  : string
Function to get the url for edit view of the module.
getFieldInstanceByName()  : Vtiger_Field_Model
Get fields instance by name.
getListFields()  : array<string|int, mixed>
{@inheritdoc}
getSupportedModules()  : array<string|int, mixed>
Function get supported modules.
hasCreatePermissions()  : mixed
{@inheritDoc}
isSortByName()  : bool
Function verifies if it is possible to sort by given field in list view.

Properties

$baseIndex

{@inheritdoc}

public mixed $baseIndex = 'id'

$baseTable

{@inheritdoc}

public mixed $baseTable = 's_#__auto_assign'

$customFieldTable

public array<string|int, mixed> $customFieldTable = ['s_#__auto_assign_users' => 'id', 's_#__auto_assign_groups' => 'id', 's_#__auto_assign_roles' => 'id']

Members table

$editFields

public array<string|int, string> $editFields = ['tabid', 'subject', 'state', 'workflow', 'handler', 'gui', 'conditions', 'members', 'method', 'default_assign', 'record_limit', 'record_limit_conditions']

Fields name for edit view

$listFields

{@inheritdoc}

public mixed $listFields = ['subject' => 'FL_SUBJECT', 'tabid' => 'FL_MODULE', 'state' => 'FL_STATE']

$name

{@inheritdoc}

public mixed $name = 'AutomaticAssignment'

Methods

getBlockIcon()

Get block icon.

public getBlockIcon(string $name) : string
Parameters
$name : string
Return values
string

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>

getEditViewUrl()

Function to get the url for edit view of the module.

public getEditViewUrl() : string
Return values
string
  • url

getFieldInstanceByName()

Get fields instance by name.

public getFieldInstanceByName(string $name) : Vtiger_Field_Model
Parameters
$name : string
Return values
Vtiger_Field_Model

getListFields()

{@inheritdoc}

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

getSupportedModules()

Function get supported modules.

public static getSupportedModules() : array<string|int, mixed>
Return values
array<string|int, mixed>
  • List of modules

hasCreatePermissions()

{@inheritDoc}

public hasCreatePermissions() : mixed
Return values
mixed

isSortByName()

Function verifies if it is possible to sort by given field in list view.

public isSortByName(string $fieldName) : bool
Parameters
$fieldName : string
Return values
bool

        

Search results