YetiForce PHP Documentation

Campaigns 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
$list_fields  : mixed
$list_fields_name  : mixed
$list_link_field  : 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_campaignscf', 'campaignid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'campaignname'

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'DESC'

$list_fields

public mixed $list_fields = ['Campaign Name' => ['campaign' => 'campaignname'], 'Campaign Type' => ['campaign' => 'campaigntype'], 'Campaign Status' => ['campaign' => 'campaignstatus'], 'Expected Revenue' => ['campaign' => 'expectedrevenue'], 'Expected Close Date' => ['campaign' => 'closingdate'], 'Assigned To' => ['crmentity' => 'smownerid']]

$list_fields_name

public mixed $list_fields_name = ['Campaign Name' => 'campaignname', 'Campaign Type' => 'campaigntype', 'Campaign Status' => 'campaignstatus', 'Expected Revenue' => 'expectedrevenue', 'Expected Close Date' => 'closingdate', 'Assigned To' => 'assigned_user_id']
public mixed $list_link_field = 'campaignname'

$mandatory_fields

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

$relationFields

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

$search_fields

public mixed $search_fields = ['Campaign Name' => ['vtiger_campaign' => 'campaignname'], 'Campaign Type' => ['vtiger_campaign' => 'campaigntype']]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_campaign', 'vtiger_campaignscf', 'vtiger_entity_stats']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_campaign' => 'campaignid', 'vtiger_campaignscf' => 'campaignid', 'vtiger_entity_stats' => 'crmid']

$table_index

public mixed $table_index = 'campaignid'

$table_name

public mixed $table_name = 'vtiger_campaign'

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