![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class used to represent a filter. More...
Public Member Functions | |
__construct ($id) | |
Constructs new filter instance. | |
__get ($name) | |
Create new filter operator object. | |
to_string () | |
Transforms this instance in its string representation. |
Base class used to represent a filter.
This class should never be instanced directly. Use filter function instead.
__construct | ( | $id | ) |
Constructs new filter instance.
$id | [in] Filter identifier (should be a string). |
__get | ( | $name | ) |
Create new filter operator object.
Valid operators are:
equal:
equal comparison,not_equal:
not equal comparison,less:
less than comparison,less_equal:
less than or equal comparison,greater:
greater than comparison,greater_equal:
greater than or equal comparison.$name | [in] Should be one of the valid operators. |
AfsUnknownOperatorException | when invalid operator has been provided. |
to_string | ( | ) |
Transforms this instance in its string representation.
Reimplemented in AfsNativeFunctionFilter.