‪TYPO3CMS  ‪main
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

ConstraintInterface getConstraint1 ()
 
ConstraintInterface 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.

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 28 of file OrInterface.php.

Member Function Documentation

◆ getConstraint1()

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

Gets the first constraint.

Returns
ConstraintInterface the constraint

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

◆ getConstraint2()

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

Gets the second constraint.

Returns
ConstraintInterface the constraint

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