TYPO3 CMS  TYPO3_6-2
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 Tx_Extbase_Persistence_QOM_OrInterface TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr Tx_Extbase_Persistence_QOM_LogicalOr

Public Member Functions

 getConstraint1 ()
 
 getConstraint2 ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
 collectBoundVariableNames (&$boundVariables)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! 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 24 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.