init() public method Initializes the DB connection component
prepareKeys() protected method Prepares the keys associated
$key public property The column that is used as the key of the
$query public property The query that is used to fetch data models
$db public property The DB connection object or the application
prepareTotalCount() protected method Returns a value indicating
prepareModels() protected method Prepares the data models
setSort() public method Sets the sort definition for this