HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbPager Class Reference
Inheritance diagram for TbPager:

Public Member Functions

 init ()
 run ()

Public Attributes

const ALIGNMENT_CENTER = 'centered'
const ALIGNMENT_RIGHT = 'right'
 $containerTag = 'div'
 $containerHtmlOptions = array()
 $alignment = self::ALIGNMENT_RIGHT
 $header = ''
 $cssFile = false
 $displayFirstAndLast = false

Protected Member Functions

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

Detailed Description

Definition at line 17 of file TbPager.php.

Member Function Documentation

TbPager::createPageButton (   $label,
  $page,
  $class,
  $hidden,
  $selected 
)
protected

.createPageButton()

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

Reimplemented in TbJsonPager.

Definition at line 209 of file TbPager.php.

Here is the caller graph for this function:

TbPager::createPageButtons ( )
protected

.createPageButtons()

Creates the page buttons.

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

Definition at line 139 of file TbPager.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbPager::init ( )

.init()

Initializes the pager by setting some default property values.

Definition at line 61 of file TbPager.php.

TbPager::run ( )

Executes the widget. This overrides the parent implementation by displaying the generated page buttons.

Reimplemented in TbJsonPager.

Definition at line 119 of file TbPager.php.

Here is the call graph for this function:

Member Data Documentation

TbPager::$alignment = self::ALIGNMENT_RIGHT

Definition at line 37 of file TbPager.php.

TbPager::$containerHtmlOptions = array()

Definition at line 31 of file TbPager.php.

TbPager::$containerTag = 'div'

Definition at line 26 of file TbPager.php.

TbPager::$cssFile = false

Definition at line 49 of file TbPager.php.

TbPager::$displayFirstAndLast = false

Definition at line 54 of file TbPager.php.

TbPager::$header = ''

Definition at line 43 of file TbPager.php.

const TbPager::ALIGNMENT_CENTER = 'centered'

Definition at line 20 of file TbPager.php.

const TbPager::ALIGNMENT_RIGHT = 'right'

Definition at line 21 of file TbPager.php.


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