Documentation

Settings_Companies_Module_Model extends Settings_Vtiger_Module_Model
in package

Companies module model class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

Table of Contents

$baseIndex  : mixed
$baseTable  : mixed
$formFields  : array<string|int, mixed>
List of fields in form.
$listFields  : mixed
$name  : mixed
getColumnNames()  : array<string|int, mixed>|false
Function to get the column names.
getDefaultUrl()  : string
Function to get the url for default view of the module.
getFormFields()  : array<string|int, string>
Return list fields in form.
getIndustryList()  : array<string|int, mixed>
getNameFields()  : bool|array<string|int, mixed>
Names of fields.
hasCreatePermissions()  : bool
New entities mustn't be created.

Properties

$baseIndex

public mixed $baseIndex = 'id'
Tags
inheritdoc

$baseTable

public mixed $baseTable = 's_yf_companies'
Tags
inheritdoc

$formFields

List of fields in form.

public static array<string|int, mixed> $formFields = ['name' => [], 'email' => [], 'vat_id' => ['infoText' => 'LBL_VAT_ID_INFO'], 'country' => [], 'industry' => [], 'website' => ['infoText' => 'LBL_WEBSITE_INFO']]

$listFields

public mixed $listFields = ['name' => 'LBL_NAME', 'email' => 'LBL_EMAIL', 'vat_id' => 'LBL_VAT_ID', 'country' => 'LBL_COUNTRY', 'industry' => 'LBL_INDUSTRY', 'website' => 'LBL_WEBSITE']
Tags
inheritdoc

$name

public mixed $name = 'Companies'
Tags
inheritdoc

Methods

getColumnNames()

Function to get the column names.

public static getColumnNames() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false

getDefaultUrl()

Function to get the url for default view of the module.

public getDefaultUrl() : string
Return values
string

URL

getFormFields()

Return list fields in form.

public static getFormFields() : array<string|int, string>
Return values
array<string|int, string>

getIndustryList()

public static getIndustryList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNameFields()

Names of fields.

public getNameFields() : bool|array<string|int, mixed>
Return values
bool|array<string|int, mixed>

hasCreatePermissions()

New entities mustn't be created.

public hasCreatePermissions() : bool
Return values
bool

        

Search results