## Class TRepeaterCommandEventParameter

Description

TRepeaterCommandEventParameter class

TRepeaterCommandEventParameter encapsulates the parameter data for TRepeater::onItemCommand event of TRepeater controls.

The Item property indicates the repeater 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/TRepeater.php (line 603)

    TComponent
       |
       --TEventParameter
          |
          --TCommandEventParameter
             |
             --TRepeaterCommandEventParameter

Method Summary
TRepeaterCommandEventParameter __construct (TRepeaterItem $item, TControl $source, TCommandEventParameter $param)
TControl getCommandSource ()
TRepeaterItem getItem ()
Methods
Constructor __construct (line 620)

Constructor.

- access: public

TRepeaterCommandEventParameter __construct (TRepeaterItem $item, TControl $source, TCommandEventParameter $param)

- TRepeaterItem $item: repeater item responsible for the event
- TControl $source: original event sender
- TCommandEventParameter $param: original event parameter

Redefinition of:

TCommandEventParameter::__construct()
  Constructor.

getCommandSource (line 638)

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

TControl getCommandSource ()
getItem (line 630)

- return: the TRepeaterItem control responsible for the event.
- access: public

TRepeaterItem 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 Sun, 04 Jun 2006 19:00:13 -0400 by phpDocumentor 1.3.0RC4