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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
__construct ( $source, $newPageIndex ) Constructor.
getCommandSource ( ) : TControl
getNewPageIndex ( ) : integer

Method Details

__construct() public méthode

Constructor.
public __construct ( $source, $newPageIndex )

getCommandSource() public méthode

public getCommandSource ( ) : TControl
Résultat TControl the control originally raises the OnCommand event.

getNewPageIndex() public méthode

public getNewPageIndex ( ) : integer
Résultat integer new page index