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

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

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

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

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

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

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

public getCommandSource ( ) : TControl
Результат Prado\Web\UI\TControl the control originally raises the OnCommand event.

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

public getItem ( ) : TControl
Результат Prado\Web\UI\TControl the repeater item control responsible for the event.