PHP 클래스 Prado\Web\UI\WebControls\TDataListCommandEventParameter

TDataListCommandEventParameter encapsulates the parameter data for {@link TDataList::onItemCommand ItemCommand} event of {@link TDataList} controls. The {@link getItem Item} property indicates the DataList 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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__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 datalist item control responsible for the event.