TYPO3 CMS  TYPO3_8-7
TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface:
TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr

Public Member Functions

 getConstraint1 ()
 
 getConstraint2 ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Persistence\Generic\Qom\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()

TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface::getConstraint1 ( )

Gets the first constraint.

Returns
ConstraintInterface the constraint; non-null

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr.

◆ getConstraint2()

TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface::getConstraint2 ( )

Gets the second constraint.

Returns
ConstraintInterface the constraint; non-null

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr.