Documentation

DatetimeField extends DateField
in package

Datetime field condition record field class.

Tags
copyright

YetiForce Sp. z o.o

license

YetiForce Public License 4.0 (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.
getValue()  : mixed
Get value from record.
operatorA()  : bool
After operator.
operatorB()  : bool
Before operator.
operatorC()  : bool
Contains operator.
operatorCustom()  : bool
Custom operator.
operatorE()  : bool
Equals operator.
operatorEw()  : bool
Ends with operator.
operatorG()  : bool
Greater than operator.
operatorGreater()  : bool
Greater operator.
operatorH()  : bool
Greater than or equal to operator.
operatorHs()  : array<string|int, mixed>
Has changed operator.
operatorHst()  : array<string|int, mixed>
Has changed to operator.
operatorK()  : bool
Does not contain operator.
operatorL()  : bool
Less than operator.
operatorLast120days()  : bool
Last120days operator.
operatorLast15days()  : bool
Last15days operator.
operatorLast30days()  : bool
Last30days operator.
operatorLast60days()  : bool
Last60days operator.
operatorLast7days()  : bool
Last7days operator.
operatorLast90days()  : bool
Last90days operator.
operatorLastmonth()  : bool
Lastmonth operator.
operatorLastweek()  : bool
Lastweek operator.
operatorM()  : bool
Less than or equal to operator.
operatorMoreThanDaysAgo()  : bool
MoreThanDaysAgo operator.
operatorN()  : bool
Not equal operator.
operatorNext120days()  : bool
Next120days operator.
operatorNext15days()  : bool
Next15days operator.
operatorNext30days()  : bool
Next30days operator.
operatorNext60days()  : bool
Next60days operator.
operatorNext90days()  : bool
Next90days operator.
operatorNextfq()  : bool
Nextfq operator.
operatorNextfy()  : bool
Nextfy operator.
operatorNextmonth()  : bool
Nextmonth operator.
operatorNextweek()  : bool
Nextweek operator.
operatorNy()  : array<string|int, mixed>
Is not empty operator.
operatorOgr()  : array<string|int, mixed>
Is currently logged user group operator.
operatorOm()  : array<string|int, mixed>
Is currently logged user operator.
operatorPrevfq()  : bool
Prevfq operator.
operatorPrevfy()  : bool
Greater operator.
operatorS()  : bool
Starts with operator.
operatorSmaller()  : bool
Smaller operator.
operatorThisfq()  : bool
Thisfq operator.
operatorThisfy()  : bool
Thisfy operator.
operatorThismonth()  : bool
Thismonth operator.
operatorThisweek()  : bool
Thisweek operator.
operatorToday()  : bool
Today operator.
operatorTomorrow()  : bool
Tomorrow operator.
operatorUntiltoday()  : bool
Untiltoday operator.
operatorY()  : array<string|int, mixed>
Is empty operator.
operatorYesterday()  : bool
Yesterday 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

getValue()

Get value from record.

public getValue() : mixed
Return values
mixed

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

operatorCustom()

Custom operator.

public operatorCustom() : bool
Return values
bool

operatorE()

Equals operator.

public operatorE() : bool
Return values
bool

operatorEw()

Ends with operator.

public operatorEw() : bool
Return values
bool

operatorG()

Greater than operator.

public operatorG() : bool
Return values
bool

operatorGreater()

Greater operator.

public operatorGreater() : bool
Return values
bool

operatorH()

Greater than or equal to operator.

public operatorH() : bool
Return values
bool

operatorHs()

Has changed operator.

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

operatorHst()

Has changed to operator.

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

operatorK()

Does not contain operator.

public operatorK() : bool
Return values
bool

operatorL()

Less than operator.

public operatorL() : bool
Return values
bool

operatorLast120days()

Last120days operator.

public operatorLast120days() : bool
Return values
bool

operatorLast15days()

Last15days operator.

public operatorLast15days() : bool
Return values
bool

operatorLast30days()

Last30days operator.

public operatorLast30days() : bool
Return values
bool

operatorLast60days()

Last60days operator.

public operatorLast60days() : bool
Return values
bool

operatorLast7days()

Last7days operator.

public operatorLast7days() : bool
Return values
bool

operatorLast90days()

Last90days operator.

public operatorLast90days() : bool
Return values
bool

operatorLastmonth()

Lastmonth operator.

public operatorLastmonth() : bool
Return values
bool

operatorLastweek()

Lastweek operator.

public operatorLastweek() : bool
Return values
bool

operatorM()

Less than or equal to operator.

public operatorM() : bool
Return values
bool

operatorMoreThanDaysAgo()

MoreThanDaysAgo operator.

public operatorMoreThanDaysAgo() : bool
Return values
bool

operatorN()

Not equal operator.

public operatorN() : bool
Return values
bool

operatorNext120days()

Next120days operator.

public operatorNext120days() : bool
Return values
bool

operatorNext15days()

Next15days operator.

public operatorNext15days() : bool
Return values
bool

operatorNext30days()

Next30days operator.

public operatorNext30days() : bool
Return values
bool

operatorNext60days()

Next60days operator.

public operatorNext60days() : bool
Return values
bool

operatorNext90days()

Next90days operator.

public operatorNext90days() : bool
Return values
bool

operatorNextfq()

Nextfq operator.

public operatorNextfq() : bool
Return values
bool

operatorNextfy()

Nextfy operator.

public operatorNextfy() : bool
Return values
bool

operatorNextmonth()

Nextmonth operator.

public operatorNextmonth() : bool
Return values
bool

operatorNextweek()

Nextweek operator.

public operatorNextweek() : bool
Return values
bool

operatorNy()

Is not empty operator.

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

operatorOgr()

Is currently logged user group operator.

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

operatorOm()

Is currently logged user operator.

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

operatorPrevfq()

Prevfq operator.

public operatorPrevfq() : bool
Return values
bool

operatorPrevfy()

Greater operator.

public operatorPrevfy() : bool
Return values
bool

operatorS()

Starts with operator.

public operatorS() : bool
Return values
bool

operatorSmaller()

Smaller operator.

public operatorSmaller() : bool
Return values
bool

operatorThisfq()

Thisfq operator.

public operatorThisfq() : bool
Return values
bool

operatorThisfy()

Thisfy operator.

public operatorThisfy() : bool
Return values
bool

operatorThismonth()

Thismonth operator.

public operatorThismonth() : bool
Return values
bool

operatorThisweek()

Thisweek operator.

public operatorThisweek() : bool
Return values
bool

operatorToday()

Today operator.

public operatorToday() : bool
Return values
bool

operatorTomorrow()

Tomorrow operator.

public operatorTomorrow() : bool
Return values
bool

operatorUntiltoday()

Untiltoday operator.

public operatorUntiltoday() : bool
Return values
bool

operatorY()

Is empty operator.

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

operatorYesterday()

Yesterday operator.

public operatorYesterday() : bool
Return values
bool

        

Search results