PagerNav class

Collection of Pager items that determines which pagination links should be used

USAGE EXAMPLE:

$pager = new PagerNav(100, 10, 0);

foreach($pager as $pageLabel => $pageNum) { $class = "action"; if($pageNum == $pager->getCurrentPage()) $class .= " on"; $out .= "

  • $pageLabel
  • "; }

    Click any linked item for full usage details and examples. Hookable methods are indicated with the icon.

    Show class?     Show args?       Only hookable?    

    API reference based on ProcessWire core version 3.0.252