PHP Class Prado\Web\UI\WebControls\TDataGridCommandEventParameter

TDataGridCommandEventParameter encapsulates the parameter data for {@link TDataGrid::onItemCommand ItemCommand} event of {@link TDataGrid} controls. The {@link getItem Item} property indicates the datagrid 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 ( ) : TDataGridItem

Method Details

__construct() public method

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

getCommandSource() public method

public getCommandSource ( ) : TControl
return TControl the control originally raises the Command event.

getItem() public method

public getItem ( ) : TDataGridItem
return TDataGridItem the TDataGridItem control responsible for the event.