public function Criteria::where

Set the where expression to evaluate when this criteria is searched for.

Parameters

Expression:

Return value

Criteria

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

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Criteria.php, line 113

Class

Criteria
Criteria for filtering Selectable collections.

Namespace

Doctrine\Common\Collections

Code

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