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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
__construct ( $item, $source, TCommandEventParameter $param ) Constructor.
getCommandSource ( ) : TControl
getItem ( ) : TDataGridItem

Method Details

__construct() public méthode

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

getCommandSource() public méthode

public getCommandSource ( ) : TControl
Résultat TControl the control originally raises the Command event.

getItem() public méthode

public getItem ( ) : TDataGridItem
Résultat TDataGridItem the TDataGridItem control responsible for the event.