Class Ice

Pagination

Provide the multi-page pagination component.
Methods
getDi()
getTag()
__construct(array $options)
Pagination constructor. Fetch di and tag.
calculate()
Returns a slice of the resultset to show in the pagination.
prepareButton(variable $page, variable $url, bool $active, variable $symbol)
Prepare list button.
minimal(variable $url, array $parameters)
Prepare minimal pagination.
basic(variable $url, array $parameters)
Prepare basic pagination.
floating(variable $url, array $parameters, int $countOut, int $countIn)
Prepare floating pagination.
Methods Details
  • public function getDi()

  • public function getTag()

  • public function __construct(array $options)

    Pagination constructor. Fetch di and tag.
  • public function calculate()

    Returns a slice of the resultset to show in the pagination.
  • protected function prepareButton(variable $page, variable $url, bool $active, variable $symbol)

    Prepare list button.
  • public function minimal(variable $url, array $parameters)

    Prepare minimal pagination.
    Previous 1 [2] 3 4 5 6 Next
  • public function basic(variable $url, array $parameters)

    Prepare basic pagination.
    First Previous 1 [2] 3 4 5 6 Next Last
  • public function floating(variable $url, array $parameters, int $countOut, int $countIn)

    Prepare floating pagination.
    First Previous 1 2 3 ... 23 24 25 26 [27] 28 29 30 31 ... 48 49 50 Next Last