PHP Class Jackalope\Query\QOM\OrConstraint

Inheritance: implements PHPCR\Query\QOM\OrInterface
Show file Open project: jackalope/jackalope

Protected Properties

Property Type Description
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

Public Methods

Method Description
__construct ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 ) Constructor
getConstraint1 ( ) {@inheritDoc}
getConstraint2 ( ) {@inheritDoc}
getConstraints ( ) : array Gets all constraints including itself

Method Details

__construct() public method

Constructor
public __construct ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 )
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

getConstraint1() public method

{@inheritDoc}
public getConstraint1 ( )

getConstraint2() public method

{@inheritDoc}
public getConstraint2 ( )

getConstraints() public method

Gets all constraints including itself
public getConstraints ( ) : array
return array the constraints

Property Details

$constraint1 protected property

protected ConstraintInterface,PHPCR\Query\QOM $constraint1
return PHPCR\Query\QOM\ConstraintInterface

$constraint2 protected property

protected ConstraintInterface,PHPCR\Query\QOM $constraint2
return PHPCR\Query\QOM\ConstraintInterface