ice framework documentation ice doc v1.10.1
Class Ice

Pagination

Methods
  • getDi() : void
  • getTag() : void
  • __construct(array $options) : void
    Pagination constructor. Fetch di and tag.
  • Returns a slice of the resultset to show in the pagination.
  • prepareButton(variable $page, variable $url, bool $active, variable $symbol) : void
    Prepare list button.
  • minimal(variable $url, array $parameters) : void
    Prepare minimal pagination.
  • basic(variable $url, array $parameters) : void
    Prepare basic pagination.
  • floating(variable $url, array $parameters, int $countOut, int $countIn) : void
    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