|
Previous Page |
Solar_Example_Model_Nodes |
Next Page |
countPages()
public
array
countPages (
array $params default NULL
)
Fetches count and pages of available records.
Inherited from Solar_Sql_Model.
Parameters
- (array)
$params: An array of clauses for the SELECT COUNT() statement, including 'where', 'group, and 'having'.
Returns
- (array) An array with keys 'count' and 'pages'; 'count' is the number of records, 'pages' is the number of pages.
Description
Fetches count and pages of available records.
Local
- Overview
- Constants
- Properties
- Methods
- __call()
- __construct()
- __destruct()
- __get()
- _addFilter()
- _addRelated()
- _belongsTo()
- _createTableAndIndexes()
- _exception()
- _fetchAll()
- _fetchAssoc()
- _fixFilters()
- _fixIndex()
- _fixModelName()
- _fixOrder()
- _fixPropertyCols()
- _fixStack()
- _fixTableCols()
- _fixTableName()
- _hasMany()
- _hasOne()
- _setup()
- apiVersion()
- countPages()
- countPagesRelated()
- delete()
- dump()
- fetch()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchNew()
- fetchOne()
- fetchPairs()
- fetchRelatedArray()
- fetchRelatedObject()
- fetchValue()
- fixSelectParams()
- getPaging()
- getRelated()
- insert()
- locale()
- newCollection()
- newRecord()
- newSelect()
- serializeCols()
- setPaging()
- unserializeCols()
- update()