All Data Structures Functions Variables Pages
Data Fields | Protected Member Functions
SimpleListLinkPager Class Reference
Inheritance diagram for SimpleListLinkPager:
LinkPager

Data Fields

 $header = ''
 

Protected Member Functions

 createPageButtons ()
 
 createPageButtonNoLinkIfHidden ($label, $page, $class, $hidden, $selected)
 

Additional Inherited Members

Detailed Description

Provides a pager used for displaying lists with a simple pagination of previous and next.

Definition at line 40 of file SimpleListLinkPager.php.

Member Function Documentation

createPageButtons ( )
protected

Creates the page buttons.

Returns
array a list of page buttons (in HTML code).

Definition at line 52 of file SimpleListLinkPager.php.

createPageButtonNoLinkIfHidden (   $label,
  $page,
  $class,
  $hidden,
  $selected 
)
protected

Creates a page button. You may override this method to customize the page buttons.

Parameters
string$labelthe text label for the button
integer$pagethe page number
string$classthe CSS class for the page button. This could be 'page', 'first', 'last', 'next' or 'previous'.
boolean$hiddenwhether this page button is visible
boolean$selectedwhether this page button is selected
Returns
string the generated button

Definition at line 93 of file SimpleListLinkPager.php.


The documentation for this class was generated from the following file:
Generated on Tue May 26 2020 07:11:01