Class \Prado\Data\ActiveRecord\TActiveRecordCriteria
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;
Class hierarchy
- \Prado\Data\ActiveRecord\TActiveRecordCriteria
- \Prado\Data\DataGateway\TSqlCriteria
- \Prado\TComponent
Since: 3.1
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |