VTFieldExpressionEvaluater
in package
Table of Contents
- __construct() : mixed
- __vt_add() : mixed
- __vt_add_days() : mixed
- __vt_add_time() : mixed
- __vt_concat() : mixed
- __vt_div() : mixed
- __vt_equals() : mixed
- __vt_get_date() : mixed
- __vt_gt() : mixed
- __vt_gtequals() : mixed
- __vt_lt() : mixed
- __vt_ltequals() : mixed
- __vt_mul() : mixed
- __vt_sub() : mixed
- __vt_sub_days() : mixed
- __vt_sub_time() : mixed
- __vt_time_diff() : int
- Date difference between (input times) or (current time and input time).
- __vt_time_diffdays() : int
- Calculate the time difference (input times) or (current time and input time) and convert it into number of days.
- env() : string
- Gets an environment variable from available sources.
- evaluate() : mixed
- exec() : mixed
Methods
__construct()
public
__construct(mixed $expr) : mixed
Parameters
- $expr : mixed
Return values
mixed —__vt_add()
public
static __vt_add(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_add_days()
public
static __vt_add_days(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_add_time()
public
static __vt_add_time(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_concat()
public
static __vt_concat(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_div()
public
static __vt_div(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_equals()
public
static __vt_equals(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_get_date()
public
static __vt_get_date(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_gt()
public
static __vt_gt(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_gtequals()
public
static __vt_gtequals(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_lt()
public
static __vt_lt(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_ltequals()
public
static __vt_ltequals(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_mul()
public
static __vt_mul(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_sub()
public
static __vt_sub(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_sub_days()
public
static __vt_sub_days(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_sub_time()
public
static __vt_sub_time(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —__vt_time_diff()
Date difference between (input times) or (current time and input time).
public
static __vt_time_diff(mixed $arr) : int
Parameters
- $arr : mixed
Return values
int —difference timestamp
__vt_time_diffdays()
Calculate the time difference (input times) or (current time and input time) and convert it into number of days.
public
static __vt_time_diffdays(mixed $arr) : int
Parameters
- $arr : mixed
Return values
int —number of days
env()
Gets an environment variable from available sources.
public
env(VTExpressionSymbol $sym) : string
Parameters
- $sym : VTExpressionSymbol
Return values
string —evaluate()
public
evaluate(mixed $env) : mixed
Parameters
- $env : mixed
Return values
mixed —exec()
public
exec(mixed $expr) : mixed
Parameters
- $expr : mixed