phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Pagination Class Reference

Public Member Functions

 __construct ($items_per_page=10, $pages_visibles=null, $page=1, $row_count=null)
 
 getObjects ($objects)
 
 getItemsPerPage ()
 
 setItemsPerPage ($items_per_page)
 
 getPage ()
 
 setPage ($page)
 
 getVisible ()
 
 setVisible ($visible)
 
 getPageCount ()
 
 getPagesNumbers ()
 
 setPagesVisibles ($pages_visibles)
 
 generateMenu ($identifier)
 
 getMenu ()
 

Static Public Member Functions

static getPageOfRow ($rownum, $itemsPerPage=10)
 

Private Attributes

 $items_per_page
 
 $page
 
 $visible
 
 $page_count
 
 $pages_visibles
 
 $row_count
 
 $menu
 

Detailed Description

Definition at line 6 of file Pagination.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $items_per_page = 10,
  $pages_visibles = null,
  $page = 1,
  $row_count = null 
)

Definition at line 15 of file Pagination.php.

Member Function Documentation

◆ generateMenu()

generateMenu (   $identifier)

Definition at line 102 of file Pagination.php.

◆ getItemsPerPage()

getItemsPerPage ( )

Definition at line 51 of file Pagination.php.

◆ getMenu()

getMenu ( )
Returns
mixed

Definition at line 113 of file Pagination.php.

◆ getObjects()

getObjects (   $objects)

Definition at line 23 of file Pagination.php.

◆ getPage()

getPage ( )

Definition at line 60 of file Pagination.php.

◆ getPageCount()

getPageCount ( )

Definition at line 78 of file Pagination.php.

◆ getPageOfRow()

static getPageOfRow (   $rownum,
  $itemsPerPage = 10 
)
static

Definition at line 117 of file Pagination.php.

◆ getPagesNumbers()

getPagesNumbers ( )

Definition at line 82 of file Pagination.php.

◆ getVisible()

getVisible ( )

Definition at line 69 of file Pagination.php.

◆ setItemsPerPage()

setItemsPerPage (   $items_per_page)

Definition at line 55 of file Pagination.php.

◆ setPage()

setPage (   $page)

Definition at line 64 of file Pagination.php.

◆ setPagesVisibles()

setPagesVisibles (   $pages_visibles)

Definition at line 95 of file Pagination.php.

◆ setVisible()

setVisible (   $visible)

Definition at line 73 of file Pagination.php.

Field Documentation

◆ $items_per_page

$items_per_page
private

Definition at line 7 of file Pagination.php.

◆ $menu

$menu
private

Definition at line 13 of file Pagination.php.

◆ $page

$page
private

Definition at line 8 of file Pagination.php.

◆ $page_count

$page_count
private

Definition at line 10 of file Pagination.php.

◆ $pages_visibles

$pages_visibles
private

Definition at line 11 of file Pagination.php.

◆ $row_count

$row_count
private

Definition at line 12 of file Pagination.php.

◆ $visible

$visible
private

Definition at line 9 of file Pagination.php.


The documentation for this class was generated from the following file: