TYPO3
7.6
|
Public Member Functions | |
__construct (ConstraintInterface $constraint1, ConstraintInterface $constraint2) | |
collectBoundVariableNames (&$boundVariables) | |
getConstraint1 () | |
getConstraint2 () | |
Protected Attributes | |
$constraint1 | |
$constraint2 | |
Performs a logical disjunction of two other constraints.
To satisfy the Or constraint, the node-tuple must either: satisfy constraint1 but not constraint2, or satisfy constraint2 but not constraint1, or satisfy both constraint1 and constraint2.
Definition at line 25 of file LogicalOr.php.
__construct | ( | ConstraintInterface | $constraint1, |
ConstraintInterface | $constraint2 | ||
) |
ConstraintInterface | $constraint1 | |
ConstraintInterface | $constraint2 |
Definition at line 41 of file LogicalOr.php.
References LogicalOr\$constraint1, and LogicalOr\$constraint2.
collectBoundVariableNames | ( | & | $boundVariables | ) |
Fills an array with the names of all bound variables in the constraints
array | &$boundVariables |
Implements ConstraintInterface.
Definition at line 53 of file LogicalOr.php.
getConstraint1 | ( | ) |
Gets the first constraint.
Implements OrInterface.
Definition at line 64 of file LogicalOr.php.
References LogicalOr\$constraint1.
getConstraint2 | ( | ) |
Gets the second constraint.
Implements OrInterface.
Definition at line 74 of file LogicalOr.php.
References LogicalOr\$constraint2.
|
protected |
Definition at line 30 of file LogicalOr.php.
Referenced by LogicalOr\__construct(), and LogicalOr\getConstraint1().
|
protected |
Definition at line 35 of file LogicalOr.php.
Referenced by LogicalOr\__construct(), and LogicalOr\getConstraint2().