DateField
extends BaseField
in package
Uses
Comparison, ComparisonField
Date field 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.
- getStdOperator() : mixed
- Get value.
- getValue() : mixed
- Get value from record.
- getValueFromSource() : string
- Get value from record source.
- operatorA() : bool
- After operator.
- operatorB() : bool
- Before operator.
- operatorBw() : array<string|int, mixed>
- Between operator.
- operatorC() : bool
- Contains operator.
- operatorCustom() : bool
- Custom operator.
- operatorE() : bool
- Equals operator.
- operatorEf() : bool
- Is equal to selected field operator.
- operatorEw() : bool
- Ends with operator.
- operatorG() : bool
- Greater than operator.
- operatorGf() : bool
- Greater than field operator.
- operatorGreater() : bool
- Greater operator.
- operatorGreaterthannow() : array<string|int, mixed>
- Greater operator.
- operatorH() : bool
- Greater than or equal to operator.
- operatorHf() : bool
- Greater than field or equal operator.
- operatorHs() : bool
- Has changed operator.
- operatorHst() : bool
- 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.
- operatorLf() : bool
- Less than field operator.
- operatorM() : bool
- Less than or equal to operator.
- operatorMf() : bool
- Less than field or equal 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.
- 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.
- operatorPrevfq() : bool
- Prevfq operator.
- operatorPrevfy() : bool
- Greater operator.
- operatorS() : bool
- Starts with operator.
- operatorSmaller() : bool
- Smaller operator.
- operatorSmallerthannow() : array<string|int, mixed>
- 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() : bool
- Is empty operator.
- operatorYesterday() : bool
- Yesterday 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 —getStdOperator()
Get value.
public
getStdOperator() : mixed
Return values
mixed —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 —operatorBw()
Between operator.
public
operatorBw() : array<string|int, mixed>
Return values
array<string|int, mixed> —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 —operatorEf()
Is equal to selected field operator.
public
operatorEf() : bool
Return values
bool —operatorEw()
Ends with operator.
public
operatorEw() : bool
Return values
bool —operatorG()
Greater than operator.
public
operatorG() : bool
Return values
bool —operatorGf()
Greater than field operator.
public
operatorGf() : bool
Return values
bool —operatorGreater()
Greater operator.
public
operatorGreater() : bool
Return values
bool —operatorGreaterthannow()
Greater operator.
public
operatorGreaterthannow() : array<string|int, mixed>
Return values
array<string|int, mixed> —operatorH()
Greater than or equal to operator.
public
operatorH() : bool
Return values
bool —operatorHf()
Greater than field or equal operator.
public
operatorHf() : 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 —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 —operatorLf()
Less than field operator.
public
operatorLf() : bool
Return values
bool —operatorM()
Less than or equal to operator.
public
operatorM() : bool
Return values
bool —operatorMf()
Less than field or equal operator.
public
operatorMf() : 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 —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 —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 —operatorSmallerthannow()
Smaller operator.
public
operatorSmallerthannow() : array<string|int, mixed>
Return values
array<string|int, mixed> —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() : bool
Return values
bool —operatorYesterday()
Yesterday operator.
public
operatorYesterday() : bool
Return values
bool —setSource()
Set source.
public
setSource(Vtiger_Record_Model $recordModel, string $fieldName) : void
Parameters
- $recordModel : Vtiger_Record_Model
- $fieldName : string