Documentation

Documents extends CRMEntity
in package

Table of Contents

$additional_column_fields  : mixed
$column_fields  : mixed
$customFieldTable  : mixed
Mandatory table for supporting custom fields.
$default_note_name_dom  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$list_fields_name  : mixed
$mandatory_fields  : mixed
$old_filename  : 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
getFolderDefault()  : string
Get Folder Default.
isFolderPresent()  : bool
Check the existence of folder by folderid.
setRelationTables()  : mixed
Function to get the relation tables for related modules.

Properties

$additional_column_fields

public mixed $additional_column_fields = ['', '', '', '']

$column_fields

public mixed $column_fields = []

$customFieldTable

Mandatory table for supporting custom fields.

public mixed $customFieldTable = ['vtiger_notescf', 'notesid']

$default_note_name_dom

public mixed $default_note_name_dom = ['Meeting vtiger_notes', 'Reminder']

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'DESC'

$list_fields_name

public mixed $list_fields_name = ['Title' => 'notes_title', 'File Name' => 'filename', 'Modified Time' => 'modifiedtime', 'Assigned To' => 'assigned_user_id', 'Folder Name' => 'folderid']

$mandatory_fields

public mixed $mandatory_fields = ['notes_title', 'createdtime', 'modifiedtime', 'filename', 'filesize', 'filetype', 'filedownloadcount', 'assigned_user_id']

$old_filename

public mixed $old_filename = ''

$relationFields

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

$search_fields

public mixed $search_fields = ['Title' => ['notes' => 'notes_title'], 'File Name' => ['notes' => 'filename'], 'Assigned To' => ['crmentity' => 'smownerid'], 'Folder Name' => ['attachmentsfolder' => 'foldername']]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_notes', 'vtiger_notescf']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_notes' => 'notesid', 'vtiger_senotesrel' => 'notesid', 'vtiger_notescf' => 'notesid']

$table_index

public mixed $table_index = 'notesid'

$table_name

public mixed $table_name = 'vtiger_notes'

Methods

getFolderDefault()

Get Folder Default.

public getFolderDefault() : string
Return values
string

isFolderPresent()

Check the existence of folder by folderid.

public isFolderPresent(int $folderId) : bool
Parameters
$folderId : int
Return values
bool

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