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