Counting Array Items When perPage Present in Query

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 24, 2013   (RSS)

By Jason - June 24, 2013

Hi,

You can get the total number of records that would be returned, regardless of the "perPage" option by using the MetaData array.

For example:

$articleMetaData['totalRecords']

Hope this helps

---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

D'oh!

A sheepish thank you on that one.