Settings_SlaPolicy_Module_Model
extends Settings_Vtiger_Module_Model
in package
Settings SlaPolicy module model class.
Tags
Table of Contents
- $baseIndex : string
- Base index.
- $baseTable : string
- Base table.
- $listFields : array<string|int, mixed>
- List fields.
- $name : string
- Module name.
- getCreateRecordUrl() : mixed
- {@inheritdoc}
- getDefaultUrl() : mixed
- {@inheritdoc}
- getEditRecordUrl() : string
- Get edit record url.
Properties
$baseIndex
Base index.
public
string
$baseIndex
= 'id'
$baseTable
Base table.
public
string
$baseTable
= 's_#__sla_policy'
$listFields
List fields.
public
array<string|int, mixed>
$listFields
= ['name' => 'LBL_NAME', 'tabid' => 'LBL_SOURCE_MODULE', 'operational_hours' => ['LBL_OPERATIONAL_HOURS', 'ServiceContracts'], 'reaction_time' => ['LBL_REACTION_TIME', 'ServiceContracts'], 'idle_time' => ['LBL_IDLE_TIME', 'ServiceContracts'], 'resolve_time' => ['LBL_RESOLVE_TIME', 'ServiceContracts'], 'business_hours' => ['LBL_BUSINESS_HOURS', 'ServiceContracts']]
$name
Module name.
public
string
$name
= 'SlaPolicy'
Methods
getCreateRecordUrl()
{@inheritdoc}
public
getCreateRecordUrl() : mixed
Return values
mixed —getDefaultUrl()
{@inheritdoc}
public
getDefaultUrl() : mixed
Return values
mixed —getEditRecordUrl()
Get edit record url.
public
getEditRecordUrl(int $recordId) : string
Parameters
- $recordId : int