YetiForce PHP Documentation

Settings_PickListDependency_Record_Model extends Settings_Vtiger_Record_Model
in package

Roles Record Model Class.

Table of Contents

$value  : mixed
$mapping  : mixed
$nonMappedSourcePickListValues  : mixed
$sourcePickListValues  : mixed
$targetPickListValues  : mixed
__construct()  : mixed
Constructor.
delete()  : mixed
get()  : mixed
Function to get the value for a given key.
getAllPickListFields()  : mixed
getArray()  : array<string|int, mixed>
Function to get the array values for a given key.
getData()  : array<string|int, mixed>
Function to get all the values of the Object.
getDisplayValue()  : mixed
Get display value.
getForHtml()  : mixed
Function to get the html encoded value for a given key.
getForSql()  : mixed
Function to get the value if its safe to use for SQL Query (column).
getId()  : number
Function to get the Id.
getInstance()  : mixed
getKeys()  : array<string|int, string>
Function to get keys.
getName()  : mixed
getNonMappedSourcePickListValues()  : mixed
getPickListDependency()  : mixed
getRecordLinks()  : mixed
getSourceFieldLabel()  : mixed
getSourcePickListValues()  : mixed
getTargetFieldLabel()  : mixed
getTargetPickListValues()  : mixed
has()  : bool
Function to check if the key exists.
isEmpty()  : bool
Function to check if the key is empty.
remove()  : mixed
Function to remove the value.
save()  : mixed
set()  : $this
Function to set the value for a given key.
setData()  : $this
Function to set all the values.
getPickListValues()  : mixed
loadFieldLabels()  : mixed

Properties

$value

protected mixed $value

$mapping

private mixed $mapping = alse

$nonMappedSourcePickListValues

private mixed $nonMappedSourcePickListValues = alse

$sourcePickListValues

private mixed $sourcePickListValues = alse

$targetPickListValues

private mixed $targetPickListValues = alse

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
$values : array<string|int, mixed> = []
Return values
mixed

delete()

public delete() : mixed
Return values
mixed

get()

Function to get the value for a given key.

public get(string $key) : mixed
Parameters
$key : string
Return values
mixed

Value for the given key

getAllPickListFields()

public getAllPickListFields() : mixed
Return values
mixed

getArray()

Function to get the array values for a given key.

public getArray(string $key[, array<string|int, mixed> $value = [] ]) : array<string|int, mixed>
Parameters
$key : string
$value : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getData()

Function to get all the values of the Object.

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

getDisplayValue()

Get display value.

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

getForHtml()

Function to get the html encoded value for a given key.

public getForHtml(string $key) : mixed
Parameters
$key : string
Return values
mixed

getForSql()

Function to get the value if its safe to use for SQL Query (column).

public getForSql(string $key[, bool $skipEmtpy = true ]) : mixed
Parameters
$key : string
$skipEmtpy : bool = true

Skip the check if string is empty

Return values
mixed

Value for the given key

getId()

Function to get the Id.

public getId() : number
Return values
number

getInstance()

public static getInstance(mixed $module, mixed $sourceField, mixed $targetField) : mixed
Parameters
$module : mixed
$sourceField : mixed
$targetField : mixed
Return values
mixed

getKeys()

Function to get keys.

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

getName()

public getName() : mixed
Return values
mixed

getNonMappedSourcePickListValues()

public getNonMappedSourcePickListValues() : mixed
Return values
mixed

getPickListDependency()

public getPickListDependency() : mixed
Return values
mixed
public getRecordLinks() : mixed
Return values
mixed

getSourceFieldLabel()

public getSourceFieldLabel() : mixed
Return values
mixed

getSourcePickListValues()

public getSourcePickListValues() : mixed
Return values
mixed

getTargetFieldLabel()

public getTargetFieldLabel() : mixed
Return values
mixed

getTargetPickListValues()

public getTargetPickListValues() : mixed
Return values
mixed

has()

Function to check if the key exists.

public has(string $key) : bool
Parameters
$key : string
Return values
bool

isEmpty()

Function to check if the key is empty.

public isEmpty(string $key) : bool
Parameters
$key : string
Return values
bool

remove()

Function to remove the value.

public remove(string $key) : mixed
Parameters
$key : string
Return values
mixed

save()

public save(mixed $mapping) : mixed
Parameters
$mapping : mixed
Return values
mixed

set()

Function to set the value for a given key.

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

setData()

Function to set all the values.

public setData(mixed $values) : $this
Parameters
$values : mixed
Return values
$this

getPickListValues()

private getPickListValues(mixed $fieldName) : mixed
Parameters
$fieldName : mixed
Return values
mixed

loadFieldLabels()

private loadFieldLabels() : mixed
Return values
mixed

Search results