PHP Class Prado\Web\UI\WebControls\TDataListCommandEventParameter

TDataListCommandEventParameter encapsulates the parameter data for {@link TDataList::onItemCommand ItemCommand} event of {@link TDataList} controls. The {@link getItem Item} property indicates the DataList 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
Datei anzeigen 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 datalist item control responsible for the event.