PHP 클래스 Prado\Web\UI\ActiveControls\TActiveTableRowEventParameter
The TActiveTableRowEventParameter provides the parameter passed during the callback
requestion in the {@link getCallbackParameter CallbackParameter} property. The
callback response content (e.g. new HTML content) must be rendered
using an THtmlWriter obtained from the {@link getNewWriter NewWriter}
property, which returns a
NEW instance of TCallbackResponseWriter.
The {@link getSelectedRowIndex SelectedRowIndex} is a zero-based index of the
TActiveTableRow , -1 if the row is not part of the row collection (this shouldn't
happen though since an exception is thrown before).
파일 보기
프로젝트 열기: pradosoft/prado
공개 메소드들
메소드 |
설명 |
|
__construct ( $response, $parameter, $index ) |
Creates a new TActiveTableRowEventParameter. |
|
getSelectedRowIndex ( ) : integer |
Returns the zero-based index of the {@link TActiveTableRow} within the
{@link TTableRowCollection} of the parent {@link TTable} control. |
|
메소드 상세
Creates a new TActiveTableRowEventParameter.
getSelectedRowIndex()
공개 메소드
Returns the zero-based index of the {@link TActiveTableRow} within the
{@link TTableRowCollection} of the parent {@link TTable} control.