Class TDataGridCommandEventParameter

Description

TDataGridCommandEventParameter class

TDataGridCommandEventParameter encapsulates the parameter data for TDataGrid::onItemCommand event of TDataGrid controls.

The Item property indicates the datagrid item related with the event. The CommandSource refers to the control that originally raises the Command event.

  • since: 3.0
  • version: $Id: TDataGrid.php 2211 2007-09-07 13:34:10Z xue $
  • author: Qiang Xue <qiang.xue@gmail.com>

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

TComponent
   |
   --TEventParameter
      |
      --TCommandEventParameter
         |
         --TDataGridCommandEventParameter
Method Summary
TDataGridCommandEventParameter __construct (TDataGridItem $item, TControl $source, TCommandEventParameter $param)
Methods
Constructor __construct (line 1730)

Constructor.

  • access: public
TDataGridCommandEventParameter __construct (TDataGridItem $item, TControl $source, TCommandEventParameter $param)

Redefinition of:
TCommandEventParameter::__construct()
Constructor.
getCommandSource (line 1748)
  • return: the control originally raises the Command event.
  • access: public
TControl getCommandSource ()
getItem (line 1740)
  • return: the TDataGridItem control responsible for the event.
  • access: public
TDataGridItem getItem ()

Inherited Methods

Inherited From TCommandEventParameter

TCommandEventParameter::__construct()
TCommandEventParameter::getCommandName()
TCommandEventParameter::getCommandParameter()

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::__get()
TComponent::__set()

Documentation generated on Mon, 21 Apr 2008 11:34:25 -0400 by phpDocumentor 1.3.0RC4