You are here

public function Criteria::where in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php \Doctrine\Common\Collections\Criteria::where()

Sets the where expression to evaluate when this Criteria is searched for.

Parameters

Expression $expression:

Return value

Criteria

2 calls to Criteria::where()
Criteria::andWhere in vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php
Appends the where expression to evaluate when this Criteria is searched for using an AND with previous expression.
Criteria::orWhere in vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php
Appends the where expression to evaluate when this Criteria is searched for using an OR with previous expression.

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php, line 119

Class

Criteria
Criteria for filtering Selectable collections.

Namespace

Doctrine\Common\Collections

Code

public function where(Expression $expression) {
  $this->expression = $expression;
  return $this;
}