Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16438 программистов и 1657 роботов. Сейчас ищут 1678 программистов ...
Pager
Вернуться к: HTML
Data paging class which also builds links to the pages.
- Introduction — Usage of Pager 2.x
- Pager "Jumping" vs. "Sliding" — Feature comparison of the two pager styles
- Pager::factory — Creates a pager instance
- Pager::setOptions — Set or change option after the Pager object has been constructed
- Pager::build — Generate or refresh the links and paged data after a call to setOptions
- Pager::getCurrentPageID — Returns current page number
- Pager::getLinks — Returns back/next/first/last and page links, both as ordered and associative array.
- Pager::getNextPageID — Returns next page number.
- Pager::getOffsetByPageId — Returns offsets for given pageID.
- Pager::getPageData — Returns an array of current pages data
- Pager::getPageIdByOffset — Returns the page number for the given offset
- Pager::getPageRangeByPageId — Returns offsets for given pageID.
- Pager::getPageSelectBox — Returns a string with a XHTML SELECT menu, to choose the page to display.
- Pager::getPreviousPageID — Returns previous page number.
- Pager::getPerPageSelectBox — Returns a string with a XHTML SELECT menu, to choose how many items per page should be displayed.
- Pager::isFirstPage — Returns whether current page is first page
- Pager::isLastPage — Returns whether current page is last page
- Pager::isLastPageComplete — Returns whether last page is complete
- Pager::numItems — Returns number of items
- Pager::numPages — Returns number of pages
- Pager::Pager — Creates a pager instance
Вернуться к: HTML