## Class TDataGridPageChangedEventParameter

Description

TDataGridPageChangedEventParameter class

TDataGridPageChangedEventParameter encapsulates the parameter data for TDataGrid::onPageIndexChanged event of TDataGrid controls.

The CommandSource property refers to the control that originally raises the Command event, while NewPageIndex returns the new page index carried with the page command.

- since: 3.0
- version: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TDataGrid.php (line 1676)

    TComponent
       |
       --TEventParameter
          |
          --TDataGridPageChangedEventParameter

Method Summary
TDataGridPageChangedEventParameter __construct (TControl $source, integer $newPageIndex)
TControl getCommandSource ()
integer getNewPageIndex ()
Methods
Constructor __construct (line 1692)

Constructor.

- access: public

TDataGridPageChangedEventParameter __construct (TControl $source, integer $newPageIndex)

- TControl $source: the control originally raises the Command event.
- integer $newPageIndex: new page index

getCommandSource (line 1701)

- return: the control originally raises the Command event.
- access: public

TControl getCommandSource ()
getNewPageIndex (line 1709)

- return: new page index
- access: public

integer getNewPageIndex ()

#### Inherited Methods

Inherited From TComponent

> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> TComponent::detachEventHandler()
> TComponent::evaluateExpression()
> TComponent::evaluateStatements()
> TComponent::getEventHandlers()
> TComponent::getSubProperty()
> TComponent::hasEvent()
> TComponent::hasEventHandler()
> TComponent::hasProperty()
> TComponent::raiseEvent()
> TComponent::setSubProperty()
> TComponent::__get()
> TComponent::__set()

Documentation generated on Mon, 01 May 2006 23:03:13 -0400 by phpDocumentor 1.3.0RC4