Class Socialveo\Core\Criteria

InheritanceSocialveo\Core\Criteria » Phalcon\Mvc\Model\Criteria

Class Criteria

Public Methods

Hide inherited methods

MethodDescriptionDefined By
andCriteria() Appends a condition from criteria to the current conditions using an AND operator Socialveo\Core\Criteria
andCriteriasOr() Appends a condition from criterias to the current conditions using an OR operator Socialveo\Core\Criteria
orCriteria() Appends a condition from criteria to the current conditions using an OR operator Socialveo\Core\Criteria

Method Details

andCriteria() public method

Appends a condition from criteria to the current conditions using an AND operator

public void andCriteria ( $criteria )
$criteria Phalcon\Mvc\Model\Criteria
andCriteriasOr() public method

Appends a condition from criterias to the current conditions using an OR operator

public void andCriteriasOr ( $criteria1, $criteria2 )
$criteria1 Phalcon\Mvc\Model\Criteria
$criteria2 Phalcon\Mvc\Model\Criteria
throws Exception
orCriteria() public method

Appends a condition from criteria to the current conditions using an OR operator

public void orCriteria ( $criteria )
$criteria Phalcon\Mvc\Model\Criteria