Documentation

Users_Field_Model extends Vtiger_Field_Model
in package

User Field Model Class.

Table of Contents

getAllRoles()  : array<string|int, mixed>
Function returns all the User Roles.
getDisplayValue()  : mixed
{@inheritdoc}
getPicklistValues()  : mixed
{@inheritdoc}
isAjaxEditable()  : bool
Function to check whether field is ajax editable'.
isEditable()  : bool
Function to check whether this field editable or not.
isEditableReadOnly()  : mixed
{@inheritdoc}
isExportTable()  : bool
Function to check if the field is export table.
isReadOnly()  : bool
{@inheritdoc}
isViewable()  : mixed
{@inheritdoc}
isViewEnabled()  : bool
Function to check if the field is shown in detail view.
isWritable()  : mixed
{@inheritdoc}

Methods

getAllRoles()

Function returns all the User Roles.

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

getDisplayValue()

{@inheritdoc}

public getDisplayValue(mixed $value[, mixed $record = false ][, mixed $recordModel = false ][, mixed $rawText = false ][, mixed $length = false ]) : mixed
Parameters
$value : mixed
$record : mixed = false
$recordModel : mixed = false
$rawText : mixed = false
$length : mixed = false
Return values
mixed

getPicklistValues()

{@inheritdoc}

public getPicklistValues([mixed $skipCheckingRole = false ]) : mixed
Parameters
$skipCheckingRole : mixed = false
Return values
mixed

isAjaxEditable()

Function to check whether field is ajax editable'.

public isAjaxEditable() : bool
Return values
bool

isEditable()

Function to check whether this field editable or not.

public isEditable() : bool
Return values
bool

true/false

isEditableReadOnly()

{@inheritdoc}

public isEditableReadOnly() : mixed
Return values
mixed

isExportTable()

Function to check if the field is export table.

public isExportTable() : bool
Return values
bool

isReadOnly()

{@inheritdoc}

public isReadOnly() : bool
Return values
bool

isViewable()

{@inheritdoc}

public isViewable() : mixed
Return values
mixed

isViewEnabled()

Function to check if the field is shown in detail view.

public isViewEnabled() : bool
Return values
bool

isWritable()

{@inheritdoc}

public isWritable() : mixed
Return values
mixed

Search results