Documentation

Faq extends CRMEntity
in package

Table of Contents

$column_fields  : mixed
$customFieldTable  : mixed
$def_basicsearch_col  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$entity_table  : mixed
$list_fields_name  : 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()  : mixed
Function to get the relation tables for related modules.

Properties

$column_fields

public mixed $column_fields = []

$customFieldTable

public mixed $customFieldTable = ['vtiger_faqcf', 'faqid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'subject'

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'DESC'

$entity_table

public mixed $entity_table = 'vtiger_crmentity'

$list_fields_name

public mixed $list_fields_name = [ // Format: Field Label => fieldname 'FL_SUBJECT' => 'subject', 'FL_CATEGORY' => 'category', 'Assigned To' => 'assigned_user_id', 'FL_INTRODUCTION' => 'introduction', 'FL_STATUS' => 'faqstatus', ]

$mandatory_fields

public mixed $mandatory_fields = ['subject']

$relationFields

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

List of fields in the RelationListView

$search_fields

public mixed $search_fields = [ // Format: Field Label => Array(tablename, columnname) // tablename should not have prefix 'vtiger_' 'FL_SUBJECT' => ['faq', 'subject'], 'FL_CATEGORY' => ['faq', 'category'], 'Assigned To' => ['crmentity', 'smownerid'], 'FL_INTRODUCTION' => ['faq', 'introduction'], 'FL_STATUS' => ['faq', 'status'], ]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_faq', 'vtiger_faqcf']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_faq' => 'id', 'vtiger_faqcf' => 'faqid']

$table_index

public mixed $table_index = 'id'

$table_name

public mixed $table_name = 'vtiger_faq'

Methods

setRelationTables()

Function to get the relation tables for related modules.

public setRelationTables([mixed $secmodule = false ]) : mixed
Parameters
$secmodule : mixed = false
Return values
mixed

        

Search results