Documentation

UserReferenceField extends OwnerField
in package

User reference condition record field class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

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.
getMemberValue()  : array<string|int, int>
Gets conditions for member.
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.
operatorNwr()  : array<string|int, mixed>
Is not watching record operator.
operatorNy()  : bool
Is not empty operator.
operatorOgr()  : bool
Is currently logged user group operator.
operatorOgu()  : bool
Users who belong to the same group as the currently logged in user.
operatorOm()  : bool
Is currently logged user operator.
operatorS()  : bool
Starts with operator.
operatorWr()  : array<string|int, mixed>
Is watching record operator.
operatorY()  : bool
Is empty operator.
setSource()  : void
Set source.

Properties

$fieldModel

protected Vtiger_Field_Model $fieldModel

$sourceFieldName

protected string $sourceFieldName

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

getMemberValue()

Gets conditions for member.

public getMemberValue(int|string $member) : array<string|int, int>
Parameters
$member : int|string
Return values
array<string|int, int>

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>

operatorNwr()

Is not watching record operator.

public operatorNwr() : 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

operatorOgu()

Users who belong to the same group as the currently logged in user.

public operatorOgu() : 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

operatorWr()

Is watching record operator.

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

operatorY()

Is empty operator.

public operatorY() : bool
Return values
bool

        

Search results