PHP Class Prado\Web\UI\WebControls\TPagerPageChangedEventParameter

TPagerPageChangedEventParameter encapsulates the parameter data for {@link TPager::onPageIndexChanged PageIndexChanged} event of {@link TPager} controls. The {@link getCommandSource CommandSource} property refers to the control that originally raises the OnCommand event, while {@link getNewPageIndex NewPageIndex} returns the new page index carried with the page command.
Since: 3.0.2
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $source, $newPageIndex ) Constructor.
getCommandSource ( ) : TControl
getNewPageIndex ( ) : integer

Method Details

__construct() public method

Constructor.
public __construct ( $source, $newPageIndex )

getCommandSource() public method

public getCommandSource ( ) : TControl
return Prado\Web\UI\TControl the control originally raises the OnCommand event.

getNewPageIndex() public method

public getNewPageIndex ( ) : integer
return integer new page index