Search criteria for Active Record.
Criteria object for active record finder methods. Usage:
- $criteria = new TActiveRecordCriteria;
- $criteria->Condition = 'username = :name AND password = :pass';
- $criteria->Parameters[':name'] = 'admin';
- $criteria->Parameters[':pass'] = 'prado';
- $criteria->OrdersBy['level'] = 'desc';
- $criteria->OrdersBy['name'] = 'asc';
- $criteria->Limit = 10;
- $criteria->Offset = 20;
Located in /Data/ActiveRecord/TActiveRecordCriteria.php (line 33)
TComponent | --TActiveRecordCriteria
Creates a new criteria with given condition;
Sets the search conditions to be placed after the WHERE clause in the SQL.
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Sun, 14 Jan 2007 21:40:59 -0500 by phpDocumentor 1.3.0RC4