PHP Class TbJsonPager

Inheritance: extends TbPager
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$json json.

Public Methods

Method Description
run ( ) ### .run()

Protected Methods

Method Description
createPageButton ( string $label, integer $page, string $class, boolean $hidden, boolean $selected ) : string ### .createPageButton()

Method Details

createPageButton() protected method

Creates a page button. You may override this method to customize the page buttons.
protected createPageButton ( string $label, integer $page, string $class, boolean $hidden, boolean $selected ) : string
$label string the text label for the button
$page integer the page number
$class string the CSS class for the page button. This could be 'page', 'first', 'last', 'next' or 'previous'.
$hidden boolean whether this page button is visible
$selected boolean whether this page button is selected
return string the generated button

run() public method

Runs the widget.
public run ( )

Property Details

$json public property

json.
public $json