Documentation

ProjectMilestone extends CRMEntity
in package

Table of Contents

$column_fields  : mixed
$customFieldTable  : mixed
Mandatory table for supporting custom fields.
$def_basicsearch_col  : mixed
$def_detailview_recname  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$IsCustomModule  : mixed
Indicator if this is a custom module or standard module
$list_fields_name  : mixed
$mandatory_fields  : mixed
$popup_fields  : mixed
$relationFields  : array<string|int, string>
$search_fields  : mixed
$search_fields_name  : mixed
$special_functions  : mixed
$tab_name  : mixed
Mandatory for Saving, Include tables related to this module.
$tab_name_index  : mixed
Mandatory for Saving, Include tablename and tablekey columnname here.
$table_index  : mixed
$table_name  : mixed
moduleHandler()  : mixed
Invoked when special actions are performed on the module.

Properties

$customFieldTable

Mandatory table for supporting custom fields.

public mixed $customFieldTable = ['vtiger_projectmilestonecf', 'projectmilestoneid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'projectmilestonename'

$def_detailview_recname

public mixed $def_detailview_recname = 'projectmilestonename'

$IsCustomModule

Indicator if this is a custom module or standard module

public mixed $IsCustomModule = rue

$list_fields_name

public mixed $list_fields_name = [ // Format: Field Label => fieldname 'Project Milestone Name' => 'projectmilestonename', 'Milestone Date' => 'projectmilestonedate', 'FL_STATUS' => 'projectmilestone_status', 'Type' => 'projectmilestonetype', 'Related to' => 'projectid', 'FL_PARENT_PROJECT_MILESTONE' => 'parentid', ]

$mandatory_fields

public mixed $mandatory_fields = ['createdtime', 'modifiedtime', 'projectmilestonename', 'projectid', 'assigned_user_id']

$search_fields

public mixed $search_fields = [ // Format: Field Label => Array(tablename, columnname) // tablename should not have prefix 'vtiger_' 'Project Milestone Name' => ['projectmilestone', 'projectmilestonename'], 'Milestone Date' => ['projectmilestone', 'projectmilestonedate'], 'FL_STATUS' => ['projectmilestone', 'projectmilestone_status'], 'Type' => ['projectmilestone', 'projectmilestonetype'], 'Related to' => ['projectmilestone', 'projectid'], 'FL_PARENT_PROJECT_MILESTONE' => ['projectmilestone', 'parentid'], ]

$special_functions

public mixed $special_functions = ['set_import_assigned_user']

$tab_name

Mandatory for Saving, Include tables related to this module.

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_projectmilestone', 'vtiger_projectmilestonecf']

$tab_name_index

Mandatory for Saving, Include tablename and tablekey columnname here.

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_projectmilestone' => 'projectmilestoneid', 'vtiger_projectmilestonecf' => 'projectmilestoneid']

Methods

moduleHandler()

Invoked when special actions are performed on the module.

public moduleHandler(string $moduleName, string $eventType) : mixed
Parameters
$moduleName : string

Module name

$eventType : string

Event Type (module.postinstall, module.disabled, module.enabled, module.preuninstall)

Return values
mixed

Search results