Documentation

Settings_FieldsDependency_Module_Model extends Settings_Vtiger_Module_Model
in package

Settings fields dependency module model class.

Table of Contents

$baseIndex  : mixed
{@inheritdoc}
$baseTable  : mixed
{@inheritdoc}
$listFields  : mixed
{@inheritdoc}
$name  : mixed
{@inheritdoc}
getCreateRecordUrl()  : mixed
{@inheritdoc}
getDefaultUrl()  : mixed
{@inheritdoc}
getSupportedModules()  : array<string|int, mixed>
Function to get Supported modules for fields dependency.
removeField()  : mixed
Remove fields from dependent field entries.

Properties

$baseIndex

{@inheritdoc}

public mixed $baseIndex = 'id'

$baseTable

{@inheritdoc}

public mixed $baseTable = 's_#__fields_dependency'

$listFields

{@inheritdoc}

public mixed $listFields = ['name' => 'LBL_NAME', 'tabid' => 'LBL_SOURCE_MODULE', 'status' => 'FL_ACTIVE', 'views' => 'LBL_VIEWS', 'gui' => 'LBL_GUI', 'mandatory' => 'LBL_MANDATORY', 'fields' => 'LBL_FIELDS']

$name

{@inheritdoc}

public mixed $name = 'FieldsDependency'

Methods

getCreateRecordUrl()

{@inheritdoc}

public getCreateRecordUrl() : mixed
Return values
mixed

getDefaultUrl()

{@inheritdoc}

public getDefaultUrl() : mixed
Return values
mixed

getSupportedModules()

Function to get Supported modules for fields dependency.

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

removeField()

Remove fields from dependent field entries.

public static removeField(string $moduleName, string $fieldName) : mixed
Parameters
$moduleName : string
$fieldName : string
Return values
mixed

        

Search results