PHP Class Prado\Collections\TPagedListPageChangedEventParameter

TPagedListPageChangedEventParameter is used as the parameter for {@link TPagedList::onPageChanged OnPageChanged} event. To obtain the page index before it was changed, use {@link getOldPageIndex OldPageIndex}.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $oldPage ) Constructor.
getOldPageIndex ( ) : integer

Method Details

__construct() public method

Constructor.
public __construct ( $oldPage )

getOldPageIndex() public method

public getOldPageIndex ( ) : integer
return integer the index of the page before the list changed to the new page