PHP Class Prado\Web\UI\WebControls\TRepeaterCommandEventParameter

TRepeaterCommandEventParameter encapsulates the parameter data for {@link TRepeater::onItemCommand ItemCommand} event of {@link TRepeater} controls. The {@link getItem Item} property indicates the repeater item related with the event. The {@link getCommandSource CommandSource} refers to the control that originally raises the Command event.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\Web\UI\TCommandEventParameter
Mostra file Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $item, $source, TCommandEventParameter $param ) Constructor.
getCommandSource ( ) : TControl
getItem ( ) : TControl

Method Details

__construct() public method

Constructor.
public __construct ( $item, $source, TCommandEventParameter $param )
$param Prado\Web\UI\TCommandEventParameter

getCommandSource() public method

public getCommandSource ( ) : TControl
return Prado\Web\UI\TControl the control originally raises the OnCommand event.

getItem() public method

public getItem ( ) : TControl
return Prado\Web\UI\TControl the repeater item control responsible for the event.