PageArray/WireArray


PageArray only

$a->getTotal()

Introduced in Version 2.0

Description

Get the total number of pages that were found from a $pages->find("selectors, limit=n") operation that led to this PageArray. The number returned may be greater than the number of pages actually in this PageArray instance, and is used for calculating pagination. Whereas $p->count() will always return the number of pages actually in this PageArray instance.

Post Comment