Documentation

Settings_AdminAccess_Module_Model extends Settings_Vtiger_Module_Model
in package

Settings_AdminAccess_Module_Model class.

Table of Contents

$baseIndex  : mixed
{@inheritdoc}
$baseTable  : mixed
{@inheritdoc}
$listFields  : mixed
{@inheritdoc}
$name  : mixed
{@inheritdoc}
getAlphabetSearchField()  : mixed
Function to get Alphabet Search Field.
getDisplayValue()  : mixed
Gets display value.
getEditViewUrl()  : string
Edit view URL.
getFieldInstanceByName()  : Vtiger_Field_Model
Gets field instance by name.
getFields()  : array<string|int, Vtiger_Field_Model>
Get fields for config form.
getFieldsForSave()  : array<string|int, mixed>
Function gives list fields for save.
getLinks()  : array<string|int, Vtiger_Link_Model>
Function to get the links.
getListFields()  : array<string|int, mixed>
{@inheritdoc}
getStructure()  : array<string|int, mixed>
Gets structure.
getUsers()  : array<string|int, int>
Gets admin users.
getValueFromRequest()  : mixed
Gets value from request.

Properties

$baseIndex

{@inheritdoc}

public mixed $baseIndex = 'id'

$baseTable

{@inheritdoc}

public mixed $baseTable = 'a_#__settings_modules'

$listFields

{@inheritdoc}

public mixed $listFields = ['name' => 'FL_MODULE_NAME', 'user' => 'FL_USER', 'status' => 'FL_ACTIVE']

$name

{@inheritdoc}

public mixed $name = 'AdminAccess'

Methods

getAlphabetSearchField()

Function to get Alphabet Search Field.

public getAlphabetSearchField() : mixed
Return values
mixed

getDisplayValue()

Gets display value.

public getDisplayValue(string $key, mixed $value) : mixed
Parameters
$key : string
$value : mixed
Return values
mixed

getEditViewUrl()

Edit view URL.

public getEditViewUrl([int $id = null ]) : string
Parameters
$id : int = null
Return values
string

getFieldInstanceByName()

Gets field instance by name.

public getFieldInstanceByName(string $name) : Vtiger_Field_Model
Parameters
$name : string
Return values
Vtiger_Field_Model

getFields()

Get fields for config form.

public static getFields(string $moduleName) : array<string|int, Vtiger_Field_Model>
Parameters
$moduleName : string
Return values
array<string|int, Vtiger_Field_Model>

getFieldsForSave()

Function gives list fields for save.

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

Function to get the links.

public getLinks() : array<string|int, Vtiger_Link_Model>
Return values
array<string|int, Vtiger_Link_Model>

getListFields()

{@inheritdoc}

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

getStructure()

Gets structure.

public getStructure(string $key) : array<string|int, mixed>
Parameters
$key : string
Return values
array<string|int, mixed>

getUsers()

Gets admin users.

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

getValueFromRequest()

Gets value from request.

public getValueFromRequest(string $fieldName, Request $request) : mixed
Parameters
$fieldName : string
$request : Request
Return values
mixed

Search results