YetiForce PHP Documentation

Leads extends CRMEntity
in package

Table of Contents

$additional_column_fields  : mixed
$column_fields  : mixed
$customFieldTable  : mixed
Mandatory table for supporting custom fields.
$def_basicsearch_col  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$emailTemplate_defaultFields  : mixed
$entity_table  : 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

$additional_column_fields

public mixed $additional_column_fields = ['smcreatorid', 'smownerid', 'contactid', 'crmid']

$column_fields

public mixed $column_fields = []

$customFieldTable

Mandatory table for supporting custom fields.

public mixed $customFieldTable = ['vtiger_leadscf', 'leadid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'company'

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'DESC'

$emailTemplate_defaultFields

public mixed $emailTemplate_defaultFields = ['leadsource', 'leadstatus', 'rating', 'industry', 'secondaryemail', 'email', 'annualrevenue']

$entity_table

public mixed $entity_table = 'vtiger_crmentity'

$list_fields

public mixed $list_fields = ['Company' => ['leaddetails' => 'company'], 'Phone' => ['leadaddress' => 'phone'], 'Website' => ['leadsubdetails' => 'website'], 'Email' => ['leaddetails' => 'email'], 'Assigned To' => ['crmentity' => 'smownerid']]

$list_fields_name

public mixed $list_fields_name = ['Company' => 'company', 'Phone' => 'phone', 'Website' => 'website', 'Email' => 'email', 'Assigned To' => 'assigned_user_id']
public mixed $list_link_field = 'company'

$mandatory_fields

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

$relationFields

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

$search_fields

public mixed $search_fields = ['Company' => ['leaddetails' => 'company']]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_leaddetails', 'vtiger_leadsubdetails', 'vtiger_leadaddress', 'vtiger_leadscf', 'vtiger_entity_stats']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_leaddetails' => 'leadid', 'vtiger_leadsubdetails' => 'leadsubscriptionid', 'vtiger_leadaddress' => 'leadaddressid', 'vtiger_leadscf' => 'leadid', 'vtiger_entity_stats' => 'crmid']

$table_index

public mixed $table_index = 'leadid'

$table_name

public mixed $table_name = 'vtiger_leaddetails'

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