Documentation

Settings_Companies_Module_Model extends Settings_Vtiger_Module_Model
in package

Companies module model class.

Tags
copyright

YetiForce Sp. z o.o

license

YetiForce Public License 3.0 (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.
getCreateRecordUrl()  : string
Function to get the url for create view of the module.
getDefaultUrl()  : string
Function to get the url for default view of the module.
getFormFields()  : array<string|int, string>
Return list fields in form.
getIndustryList()  : mixed
getNameFields()  : array<string|int, mixed>
Names of fields.

Properties

$baseIndex

public mixed $baseIndex = 'id'

$baseTable

public mixed $baseTable = 's_yf_companies'

$formFields

List of fields in form.

public static array<string|int, mixed> $formFields = ['type' => ['registerView' => rue, 'infoText' => 'LBL_TYPE_INFO'], 'name' => ['registerView' => rue, 'paymentData' => rue, 'infoText' => 'LBL_NAME_INFO'], 'vat_id' => ['paymentData' => rue, 'registerView' => rue, 'infoText' => 'LBL_VAT_ID_INFO'], 'country' => ['registerView' => rue, 'paymentData' => rue], 'post_code' => ['paymentData' => rue, 'registerView' => rue], 'city' => ['registerView' => rue], 'address' => ['paymentData' => rue, 'registerView' => rue], 'industry' => ['registerView' => rue], 'companysize' => ['registerView' => rue], 'website' => ['registerView' => rue, 'infoText' => 'LBL_WEBSITE_INFO'], 'spacer' => ['registerView' => rue], 'newsletter' => ['registerView' => rue], 'firstname' => ['registerView' => rue], 'lastname' => ['registerView' => rue], 'email' => ['registerView' => rue], 'logo' => ['registerView' => alse], 'facebook' => ['brandBlock' => rue], 'twitter' => ['brandBlock' => rue], 'linkedin' => ['brandBlock' => rue]]

$listFields

public mixed $listFields = ['name' => 'LBL_NAME', 'status' => 'LBL_STATUS', 'type' => 'LBL_TYPE', 'email' => 'LBL_EMAIL', 'address' => 'AddressLevel8', 'post_code' => 'AddressLevel7', 'city' => 'LBL_CITY', 'country' => 'LBL_COUNTRY', 'website' => 'LBL_WEBSITE', 'vat_id' => 'Vat ID']

$name

public mixed $name = 'Companies'

Methods

getColumnNames()

Function to get the column names.

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

getCreateRecordUrl()

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

public getCreateRecordUrl() : string
Return values
string

URL

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() : mixed
Return values
mixed

getNameFields()

Names of fields.

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

Search results