Documentation

HelpDesk extends CRMEntity
in package

Table of Contents

$column_fields  : mixed
$customFieldTable  : mixed
Mandatory table for supporting custom fields.
$def_basicsearch_col  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$entity_table  : mixed
$list_fields_name  : mixed
$mandatory_fields  : mixed
$relationFields  : array<string|int, string>
$search_fields  : mixed
$search_fields_name  : mixed
$tab_name  : mixed
$tab_name_index  : mixed
$table_index  : mixed
$table_name  : mixed
setRelationTables()  : array<string|int, mixed>
Function to get the relation tables for related modules.

Properties

$column_fields

public mixed $column_fields = []

$customFieldTable

Mandatory table for supporting custom fields.

public mixed $customFieldTable = ['vtiger_ticketcf', 'ticketid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'ticket_title'

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'ASC'

$entity_table

public mixed $entity_table = 'vtiger_crmentity'

$list_fields_name

public mixed $list_fields_name = ['Ticket No' => 'ticket_no', 'Subject' => 'ticket_title', 'Related To' => 'parent_id', 'Contact Name' => 'contact_id', 'Status' => 'ticketstatus', 'Priority' => 'ticketpriorities', 'Assigned To' => 'assigned_user_id', 'FL_TOTAL_TIME_H' => 'sum_time']

$mandatory_fields

public mixed $mandatory_fields = ['assigned_user_id', 'createdtime', 'modifiedtime', 'ticket_title', 'update_log']

$relationFields

public array<string|int, string> $relationFields = []

$search_fields

public mixed $search_fields = [ //'Ticket ID' => Array('vtiger_crmentity'=>'crmid'), 'Ticket No' => ['troubletickets' => 'ticket_no'], // END 'Subject' => ['troubletickets' => 'title'], 'Related To' => ['troubletickets' => 'parent_id'], 'Contact Name' => ['troubletickets' => 'contact_id'], 'Status' => ['troubletickets' => 'status'], 'Priority' => ['troubletickets' => 'priority'], 'Assigned To' => ['crmentity', 'smownerid'], 'FL_TOTAL_TIME_H' => ['troubletickets', 'sum_time'], ]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_troubletickets', 'vtiger_ticketcf', 'vtiger_entity_stats']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_troubletickets' => 'ticketid', 'vtiger_ticketcf' => 'ticketid', 'vtiger_entity_stats' => 'crmid']

$table_index

public mixed $table_index = 'ticketid'

$table_name

public mixed $table_name = 'vtiger_troubletickets'

Methods

setRelationTables()

Function to get the relation tables for related modules.

public setRelationTables([bool|string $secModule = false ]) : array<string|int, mixed>
Parameters
$secModule : bool|string = false

secondary module name

Return values
array<string|int, mixed>

with table names and fieldnames storing relations between module and this module

Search results