Class TCommandEventParameter

Description

TCommandEventParameter class

TCommandEventParameter encapsulates the parameter data for Command event of button controls. You can access the name of the command via CommandName property, and the parameter carried with the command via CommandParameter property.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TControl.php 3078 2011-12-03 15:25:12Z ctrlaltca@gmail.com $
  • since: 3.0

Located in /Web/UI/TControl.php (line 2263)

TComponent
   |
   --TEventParameter
      |
      --TCommandEventParameter
Direct descendents
Class Description
TDataGridCommandEventParameter TDataGridCommandEventParameter class
TDataListCommandEventParameter TDataListCommandEventParameter class
TRepeaterCommandEventParameter TRepeaterCommandEventParameter class
Method Summary
TCommandEventParameter __construct ([string $name = ''], [string $parameter = ''])
string getCommandName ()
Methods
Constructor __construct (line 2273)

Constructor.

  • access: public
TCommandEventParameter __construct ([string $name = ''], [string $parameter = ''])
  • string $name: name of the command
  • string $parameter: parameter of the command

Redefined in descendants as:
getCommandName (line 2282)
  • return: name of the command
  • access: public
string getCommandName ()
getCommandParameter (line 2290)
  • return: parameter of the command
  • access: public
string getCommandParameter ()

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:39 +0200 by phpDocumentor 1.4.3