TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
LogicalNot Class Reference
Inheritance diagram for LogicalNot:
NotInterface ConstraintInterface

Public Member Functions

 __construct (ConstraintInterface $constraint)
 
 collectBoundVariableNames (&$boundVariables)
 
 getConstraint ()
 

Protected Attributes

 $constraint
 

Detailed Description

Performs a logical negation of another constraint.

To satisfy the Not constraint, the node-tuple must not satisfy constraint.

Definition at line 22 of file LogicalNot.php.

Constructor & Destructor Documentation

__construct ( ConstraintInterface  $constraint)
Parameters
ConstraintInterface$constraint

Definition at line 32 of file LogicalNot.php.

References LogicalNot\$constraint.

Member Function Documentation

collectBoundVariableNames ( $boundVariables)

Fills an array with the names of all bound variables in the constraint

Parameters
array&$boundVariables
Returns
void

Implements ConstraintInterface.

Definition at line 43 of file LogicalNot.php.

getConstraint ( )

Gets the constraint negated by this Not constraint.

Returns
ConstraintInterface the constraint; non-null

Implements NotInterface.

Definition at line 53 of file LogicalNot.php.

References LogicalNot\$constraint.

Member Data Documentation

$constraint
protected

Definition at line 27 of file LogicalNot.php.

Referenced by LogicalNot\__construct(), and LogicalNot\getConstraint().