Documentation

HolidaysEntitlement extends Vtiger_CRMEntity
in package

Class HolidaysEntitlement.

Table of Contents

$column_fields  : array<string|int, mixed>
Column fields.
$customFieldTable  : array<string|int, mixed>
Mandatory table for supporting custom fields.
$db  : mixed
$def_basicsearch_col  : string
For Alphabetical search.
$def_detailview_recname  : string
Column value to use on detail view record text display.
$default_order_by  : string
Default order by.
$default_sort_order  : string
Default sort order.
$IsCustomModule  : mixed
Indicator if this is a custom module or standard module
$list_fields_name  : array<string|int, mixed>
List fields name.
$mandatory_fields  : array<string|int, mixed>
Used when enabling/disabling the mandatory fields for the module. Refers to vtiger_field.fieldname values.
$popup_fields  : array<string|int, mixed>
For Popup window record selection.
$relationFields  : array<string|int, string>
List of fields in the RelationListView.
$search_fields  : array<string|int, mixed>
For Popup listview and UI type support.
$search_fields_name  : array<string|int, mixed>
Search fields name.
$special_functions  : mixed
$tab_name  : array<string|int, mixed>
Mandatory for Saving, Include tables related to this module.
$tab_name_index  : array<string|int, mixed>
Mandatory for Saving, Include tablename and tablekey columnname here.
$table_index  : string
Table index.
$table_name  : string
Table name.
__construct()  : mixed
moduleHandler()  : mixed
Invoked when special actions are performed on the module.

Properties

$customFieldTable

Mandatory table for supporting custom fields.

public array<string|int, mixed> $customFieldTable = ['vtiger_holidaysentitlementcf', 'holidaysentitlementid']

$def_basicsearch_col

For Alphabetical search.

public string $def_basicsearch_col = 'ossemployeesid'

$def_detailview_recname

Column value to use on detail view record text display.

public string $def_detailview_recname = 'ossemployeesid'

$IsCustomModule

Indicator if this is a custom module or standard module

public mixed $IsCustomModule = rue

$list_fields_name

List fields name.

public array<string|int, mixed> $list_fields_name = [ // Format: Field Label => fieldname 'LBL_NO' => 'holidaysentitlement_no', 'LBL_EMPLOYEE' => 'ossemployeesid', 'Assigned To' => 'assigned_user_id', ]

$mandatory_fields

Used when enabling/disabling the mandatory fields for the module. Refers to vtiger_field.fieldname values.

public array<string|int, mixed> $mandatory_fields = ['ossemployeesid', 'assigned_user_id', 'holidaysentitlement_year', 'days']

$popup_fields

For Popup window record selection.

public array<string|int, mixed> $popup_fields = ['ossemployeesid']

$relationFields

List of fields in the RelationListView.

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

$search_fields

For Popup listview and UI type support.

public array<string|int, mixed> $search_fields = [ // Format: Field Label => Array(tablename, columnname) // tablename should not have prefix 'vtiger_' 'LBL_NO' => ['holidaysentitlement', 'holidaysentitlement_no'], 'LBL_EMPLOYEE' => ['holidaysentitlement', 'ossemployeesid'], 'Assigned To' => ['crmentity', 'assigned_user_id'], ]

$search_fields_name

Search fields name.

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

$special_functions

public mixed $special_functions = ['set_import_assigned_user']

$tab_name

Mandatory for Saving, Include tables related to this module.

public array<string|int, mixed> $tab_name = ['vtiger_crmentity', 'vtiger_holidaysentitlement', 'vtiger_holidaysentitlementcf']

$tab_name_index

Mandatory for Saving, Include tablename and tablekey columnname here.

public array<string|int, mixed> $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_holidaysentitlement' => 'holidaysentitlementid', 'vtiger_holidaysentitlementcf' => 'holidaysentitlementid']

Methods

__construct()

public __construct() : mixed
Return values
mixed

moduleHandler()

Invoked when special actions are performed on the module.

public moduleHandler(mixed $moduleName, mixed $eventType) : mixed
Parameters
$moduleName : mixed
$eventType : mixed
Return values
mixed

        

Search results