PHP Class 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.
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 ( ) : TControl

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 Prado\Web\UI\TControl the control originally raises the OnCommand event.

getItem() public méthode

public getItem ( ) : TControl
Résultat Prado\Web\UI\TControl the repeater item control responsible for the event.