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 OnCommand event, while NewPageIndex returns the new page index carried with the page command.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TDataGrid.php 3057 2011-11-09 12:35:57Z ctrlaltca@gmail.com $
  • since: 3.0

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

TComponent
   |
   --TEventParameter
      |
      --TDataGridPageChangedEventParameter
Method Summary
TDataGridPageChangedEventParameter __construct (TControl $source, integer $newPageIndex)
integer getNewPageIndex ()
Methods
Constructor __construct (line 1891)

Constructor.

  • access: public
TDataGridPageChangedEventParameter __construct (TControl $source, integer $newPageIndex)
  • TControl $source: the control originally raises the OnCommand event.
  • integer $newPageIndex: new page index
getCommandSource (line 1900)
  • return: the control originally raises the OnCommand event.
  • access: public
TControl getCommandSource ()
getNewPageIndex (line 1908)
  • return: new page index
  • access: public
integer getNewPageIndex ()

Inherited Methods

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:37:47 +0200 by phpDocumentor 1.4.3