Documentation

Vendors 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
$related_tables  : 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_vendorcf', 'vendorid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'vendorname'

$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 = ['Vendor Name' => 'vendorname', 'Phone' => 'phone', 'Email' => 'email', 'Category' => 'category']

$mandatory_fields

public mixed $mandatory_fields = ['createdtime', 'modifiedtime', 'vendorname', 'assigned_user_id']
public mixed $related_tables = ['vtiger_vendorcf' => ['vendorid', 'vtiger_vendor', 'vendorid'], 'vtiger_vendoraddress' => ['vendorid', 'vtiger_vendor', 'vendorid']]

$relationFields

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

List of fields in the RelationListView

$search_fields

public mixed $search_fields = ['Vendor Name' => ['vendor' => 'vendorname'], 'Phone' => ['vendor' => 'phone']]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_vendor', 'vtiger_vendoraddress', 'vtiger_vendorcf', 'vtiger_entity_stats']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_vendor' => 'vendorid', 'vtiger_vendoraddress' => 'vendorid', 'vtiger_vendorcf' => 'vendorid', 'vtiger_entity_stats' => 'crmid']

$table_index

public mixed $table_index = 'vendorid'

$table_name

public mixed $table_name = 'vtiger_vendor'

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