getPagination
(Since 1.2.0) -- display pagination controls for any listing page
function getPagination($label = 'Go to page:')
Display the pagination controls for any listing page.
Parameters
| Parameter | Type | Details |
|---|---|---|
| $label | STRING | (optional) The descriptive label to appear along with the pagination |
Examples
<?php
$Record = new Pod('pod_name');
$Record->findRecords('id DESC', 10);
echo $Record->getPagination();
?>
