TYPO3
7.6
|
Public Member Functions | |
getTarget () | |
setTarget ($target) | |
getOperator () | |
setOperator ($operator) | |
test ($test) | |
Private Attributes | |
$target | |
$operator= '==' | |
Definition at line 19 of file Comparator.php.
getOperator | ( | ) |
Gets the comparison operator.
Definition at line 49 of file Comparator.php.
getTarget | ( | ) |
Gets the target value.
Definition at line 29 of file Comparator.php.
References Comparator\$target.
setOperator | ( | $operator | ) |
Sets the comparison operator.
string | $operator | A valid operator |
\InvalidArgumentException |
Definition at line 61 of file Comparator.php.
Referenced by DateComparator\__construct(), and NumberComparator\__construct().
setTarget | ( | $target | ) |
Sets the target value.
string | $target | The target value |
Definition at line 39 of file Comparator.php.
References Comparator\$target.
Referenced by DateComparator\__construct(), and NumberComparator\__construct().
test | ( | $test | ) |
Tests against the target.
mixed | $test | A test value |
Definition at line 81 of file Comparator.php.
References Comparator\$target.
|
private |
Definition at line 22 of file Comparator.php.
|
private |
Definition at line 21 of file Comparator.php.
Referenced by DateComparator\__construct(), NumberComparator\__construct(), Comparator\getTarget(), Comparator\setTarget(), and Comparator\test().