ChangesJsonField
extends BaseField
in package
Changes json condition record field class.
Table of Contents
- $fieldModel : Vtiger_Field_Model
- $operator : string
- $recordModel : Vtiger_Record_Model
- $sourceFieldName : string
- $sourceRecordModel : Vtiger_Record_Model
- $value : mixed
- __construct() : mixed
- Constructor.
- check() : void
- Check condition for field.
- getValue() : mixed
- Get value from record.
- getValueFromSource() : string
- Get value from record source.
- operatorA() : bool
- After operator.
- operatorB() : bool
- Before operator.
- operatorC() : bool
- Contains operator.
- operatorE() : bool
- Equals operator.
- operatorEf() : bool
- Is equal to selected field operator.
- operatorEw() : bool
- Ends with operator.
- operatorHs() : bool
- Has changed operator.
- operatorHst() : bool
- Has changed to operator.
- operatorK() : bool
- Does not contain operator.
- operatorN() : bool
- Not equal operator.
- operatorNf() : bool
- Is not equal to selected field operator.
- operatorNom() : array<string|int, mixed>
- Not currently logged user operator.
- operatorNy() : bool
- Is not empty operator.
- operatorOgr() : bool
- Is currently logged user group operator.
- operatorOm() : bool
- Is currently logged user operator.
- operatorS() : bool
- Starts with operator.
- operatorY() : bool
- Is empty operator.
- setSource() : void
- Set source.
Properties
$fieldModel
protected
Vtiger_Field_Model
$fieldModel
$operator
protected
string
$operator
$recordModel
protected
Vtiger_Record_Model
$recordModel
$sourceFieldName
protected
string
$sourceFieldName
$sourceRecordModel
protected
Vtiger_Record_Model
$sourceRecordModel
$value
protected
mixed
$value
Methods
__construct()
Constructor.
public
__construct(Vtiger_Record_Model $recordModel, Vtiger_Field_Model $fieldModel, array<string|int, mixed> $rule) : mixed
Parameters
- $recordModel : Vtiger_Record_Model
- $fieldModel : Vtiger_Field_Model
- $rule : array<string|int, mixed>
Return values
mixed —check()
Check condition for field.
public
check() : void
Return values
void —getValue()
Get value from record.
public
getValue() : mixed
Return values
mixed —getValueFromSource()
Get value from record source.
public
getValueFromSource() : string
Return values
string —operatorA()
After operator.
public
operatorA() : bool
Return values
bool —operatorB()
Before operator.
public
operatorB() : bool
Return values
bool —operatorC()
Contains operator.
public
operatorC() : bool
Return values
bool —operatorE()
Equals operator.
public
operatorE() : bool
Return values
bool —operatorEf()
Is equal to selected field operator.
public
operatorEf() : bool
Return values
bool —operatorEw()
Ends with operator.
public
operatorEw() : bool
Return values
bool —operatorHs()
Has changed operator.
public
operatorHs() : bool
Return values
bool —operatorHst()
Has changed to operator.
public
operatorHst() : bool
Return values
bool —operatorK()
Does not contain operator.
public
operatorK() : bool
Return values
bool —operatorN()
Not equal operator.
public
operatorN() : bool
Return values
bool —operatorNf()
Is not equal to selected field operator.
public
operatorNf() : bool
Return values
bool —operatorNom()
Not currently logged user operator.
public
operatorNom() : array<string|int, mixed>
Return values
array<string|int, mixed> —operatorNy()
Is not empty operator.
public
operatorNy() : bool
Return values
bool —operatorOgr()
Is currently logged user group operator.
public
operatorOgr() : bool
Return values
bool —operatorOm()
Is currently logged user operator.
public
operatorOm() : bool
Return values
bool —operatorS()
Starts with operator.
public
operatorS() : bool
Return values
bool —operatorY()
Is empty operator.
public
operatorY() : bool
Return values
bool —setSource()
Set source.
public
setSource(Vtiger_Record_Model $recordModel, string $fieldName) : void
Parameters
- $recordModel : Vtiger_Record_Model
- $fieldName : string