PHP Класс 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.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends Prado\Web\UI\TCommandEventParameter
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $item, $source, TCommandEventParameter $param ) Constructor.
getCommandSource ( ) : TControl
getItem ( ) : TDataGridItem

Описание методов

__construct() публичный Метод

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

getCommandSource() публичный Метод

public getCommandSource ( ) : TControl
Результат TControl the control originally raises the Command event.

getItem() публичный Метод

public getItem ( ) : TDataGridItem
Результат TDataGridItem the TDataGridItem control responsible for the event.