Previous Page
apiVersion()

Solar_Example_Model_TestSolarFoo
countPages()

Next Page
countPagesRelated()

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.