getFilters
(Since 1.2.0) -- display PICK dropdown filters and search box
function getFilters($filters = null, $label = 'Filter', $action = null)
Display any dropdown filters associated with a listing page.
Parameters
| Parameter | Type | Details |
|---|---|---|
| $filters | STRING | (optional) A comma-separated list of columns to use as filters |
| $label | STRING | (optional) The descriptive label to appear along with the pagination |
| $action | STRING | (optional) The URL to submit the form (if different than current page) |
Examples
<?php
$Record = new Pod('pod_name');
$Record->findRecords('id DESC', 10);
echo $Record->getFilters();
?>
