SproutCMS

This is the code documentation for the SproutCMS project

function paginate()

Return HTML to perform pagination.

$curr_page The current page number (1-based).
$num_page The total number of pages.
$div_class If provided, a wrapper div will be generated, with this class name.

Usage

unknown Search::paginate ( mixed $curr_page , mixed $num_pages [, mixed $div_class ] );

Arguments

  1. $curr_page
  2. $num_pages
  3. $div_class = NULL