## 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: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

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

    TComponent
       |
       --TEventParameter
          |
          --TCommandEventParameter
             |
             --TDataGridCommandEventParameter

Method Summary
TDataGridCommandEventParameter __construct (TDataGridItem $item, TControl $source, TCommandEventParameter $param)
TControl getCommandSource ()
TDataGridItem getItem ()
Methods
Constructor __construct (line 1583)

Constructor.

- access: public

TDataGridCommandEventParameter __construct (TDataGridItem $item, TControl $source, TCommandEventParameter $param)

- TDataGridItem $item: datagrid item responsible for the event
- TControl $source: original event sender
- TCommandEventParameter $param: original event parameter

Redefinition of:

TCommandEventParameter::__construct()
  Constructor.

getCommandSource (line 1601)

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

TControl getCommandSource ()
getItem (line 1593)

- 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::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:11 -0400 by phpDocumentor 1.3.0RC4