class Criteria

Criteria for filtering Selectable collections.

@author Benjamin Eberlei <kontakt@beberlei.de> @since 2.3

Hierarchy

  • class \Doctrine\Common\Collections\Criteria

Expanded class hierarchy of Criteria

2 files declare their use of Criteria

File

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

Namespace

Doctrine\Common\Collections
View source

Members

Namesort descending Modifiers Type Description Overrides
Criteria::$expression private property
Criteria::$expressionBuilder private static property
Criteria::$firstResult private property
Criteria::$maxResults private property
Criteria::$orderings private property
Criteria::andWhere public function Append the where expression to evaluate when this criteria is searched for using an AND with previous expression.
Criteria::ASC constant
Criteria::create public static function Creates an instance of the class.
Criteria::DESC constant
Criteria::expr public static function Return the expression builder.
Criteria::getFirstResult public function Get current first result option of the critera.
Criteria::getMaxResults public function Get maxResults.
Criteria::getOrderings public function Get current orderings of this Criteria
Criteria::getWhereExpression public function Get the expression attached to this criteria.
Criteria::orderBy public function Set the ordering of the result of this criteria.
Criteria::orWhere public function Append the where expression to evaluate when this criteria is searched for using an OR with previous expression.
Criteria::setFirstResult public function Set number of first result that this criteria should return.
Criteria::setMaxResults public function Set maxResults.
Criteria::where public function Set the where expression to evaluate when this criteria is searched for.
Criteria::__construct public function Construct new criteria