Documents_Module_Model
extends Vtiger_Module_Model
in package
Table of Contents
- $allowTypeChange : mixed
- {@inheritdoc}
- getAllFolders() : array<string|int, mixed>
- Added function that returns the folders in a Document.
- getAlphabetSearchField() : mixed
- Function to get Alphabet Search Field.
- getCustomLinkLabel() : string
- {@inheritdoc}
- getModalRecordsListFields() : mixed
- {@inheritdoc}
- getQueryByModuleField() : mixed
- Function to get list view query for popup window.
- getSettingLinks() : array<string|int, mixed>
- {@inheritdoc}
- isSummaryViewSupported() : bool
- Function to check whether the module is summary view supported.
- isWorkflowSupported() : bool
- Functions tells if the module supports workflow.
Properties
$allowTypeChange
{@inheritdoc}
public
mixed
$allowTypeChange
= \false
Methods
getAllFolders()
Added function that returns the folders in a Document.
public
getAllFolders() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAlphabetSearchField()
Function to get Alphabet Search Field.
public
getAlphabetSearchField() : mixed
Return values
mixed —getCustomLinkLabel()
{@inheritdoc}
public
getCustomLinkLabel(int $id, string $label) : string
Parameters
- $id : int
- $label : string
Return values
string —getModalRecordsListFields()
{@inheritdoc}
public
getModalRecordsListFields(QueryGenerator $queryGenerator[, mixed $sourceModule = false ]) : mixed
Parameters
- $queryGenerator : QueryGenerator
- $sourceModule : mixed = false
Return values
mixed —getQueryByModuleField()
Function to get list view query for popup window.
public
getQueryByModuleField(string $sourceModule, string $field, string $record, QueryGenerator $queryGenerator) : mixed
Parameters
- $sourceModule : string
-
Parent module
- $field : string
-
parent fieldname
- $record : string
-
parent id
- $queryGenerator : QueryGenerator
Return values
mixed —getSettingLinks()
{@inheritdoc}
public
getSettingLinks() : array<string|int, mixed>
Return values
array<string|int, mixed> —isSummaryViewSupported()
Function to check whether the module is summary view supported.
public
isSummaryViewSupported() : bool
Return values
bool —isWorkflowSupported()
Functions tells if the module supports workflow.
public
isWorkflowSupported() : bool