## 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: $Id: TRepeater.php 1482 2006-10-29 12:53:33Z xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TRepeater.php (line 613)

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

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

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 648)

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

TControl getCommandSource ()
getItem (line 640)

- 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::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 Sun, 14 Jan 2007 21:44:07 -0500 by phpDocumentor 1.3.0RC4