public function Criteria::where in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
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\CollectionsCode
public function where(Expression $expression) {
$this->expression = $expression;
return $this;
}