Previous Page
_hasOne()

Solar_Model_Areas
_setCollectionPagerInfo()

Next Page
_setup()

_setCollectionPagerInfo()

protected void _setCollectionPagerInfo ( Solar_Sql_Model_Collection $coll, array $params )

Sets the pager info in a collection, calling countPages() along the way.

Inherited from Solar_Sql_Model.

Parameters

  • (Solar_Sql_Model_Collection) $coll: The record collection to set pager info on.
  • (array) $params: The params for the original fetchAll() or fetchAssoc().

Returns

  • (void)

Description

Sets the pager info in a collection, calling countPages() along the way.