OrInterface extends ConstraintInterface

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.

Table of Contents

Methods

collectBoundVariableNames()  : mixed
Fills an array with the names of all bound variables in the constraints
getConstraint1()  : ConstraintInterface
Gets the first constraint.
getConstraint2()  : ConstraintInterface
Gets the second constraint.

Methods

collectBoundVariableNames()

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

public collectBoundVariableNames(array<string|int, mixed> &$boundVariables) : mixed
Parameters
$boundVariables : array<string|int, mixed>

        
On this page

Search results