Documentation

FieldsDependency
in package

Fields dependency class.

Table of Contents

GUI_BACKEND  = 0
GUI_FRONTEND  = 1
VIEWS  = ['Create' => 'LBL_VIEW_CREATE', 'Edit' => 'LBL_VIEW_EDIT', 'Detail' => 'LBL_VIEW_DETAIL', 'QuickCreate' => 'LBL_QUICK_CREATE', 'QuickEdit' => 'LBL_QUICK_EDIT']
$recordModelCache  : array<string|int, mixed>
Cache variable for list of fields to hide for a record in a view.
getByModule()  : array<string|int, mixed>
Get the dependency list for module.
getByRecordModel()  : array<string|int, mixed>
Get the list of fields to hide for a record in a view.

Constants

VIEWS

public array<string|int, mixed> VIEWS = ['Create' => 'LBL_VIEW_CREATE', 'Edit' => 'LBL_VIEW_EDIT', 'Detail' => 'LBL_VIEW_DETAIL', 'QuickCreate' => 'LBL_QUICK_CREATE', 'QuickEdit' => 'LBL_QUICK_EDIT']

Views labels

Properties

Methods

getByModule()

Get the dependency list for module.

public static getByModule(int $tabId[, int|null $gui = null ]) : array<string|int, mixed>
Parameters
$tabId : int
$gui : int|null = null
Return values
array<string|int, mixed>

        

Search results