TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
OrInterface Interface Reference
Inheritance diagram for OrInterface:
ConstraintInterface LogicalOr

Public Member Functions

 getConstraint1 ()
 
 getConstraint2 ()
 
- Public Member Functions inherited from ConstraintInterface
 collectBoundVariableNames (&$boundVariables)
 

Detailed Description

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 OrInterface.php.

Member Function Documentation

getConstraint1 ( )

Gets the first constraint.

Returns
ConstraintInterface the constraint; non-null

Implemented in LogicalOr.

getConstraint2 ( )

Gets the second constraint.

Returns
ConstraintInterface the constraint; non-null

Implemented in LogicalOr.