PHP Class Prado\Web\UI\WebControls\TDataGridPageChangedEventParameter

TDataGridPageChangedEventParameter encapsulates the parameter data for {@link TDataGrid::onPageIndexChanged PageIndexChanged} event of {@link TDataGrid} 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
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 TControl the control originally raises the OnCommand event.

getNewPageIndex() public method

public getNewPageIndex ( ) : integer
return integer new page index