PHP 클래스 Prado\Web\UI\WebControls\TDataListItem
A TDataListItem control represents an item in the {@link TDataList} control,
such as heading section, footer section, or a data item.
The index and data value of the item can be accessed via {@link getItemIndex ItemIndex}>
and {@link getDataItem DataItem} properties, respectively. The type of the item
is given by {@link getItemType ItemType} property.
파일 보기
프로젝트 열기: pradosoft/prado
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
createStyle ( ) : TStyle |
Creates a style object for the control. |
|
getTagName ( ) : string |
Returns the tag name used for this control. |
|
메소드 상세
This method overrides parent's implementation by wrapping event parameter
for OnCommand event with item information.
This method creates a {@link TTableItemStyle} to be used by a datalist item.
protected createStyle ( ) : TStyle |
리턴 |
TStyle |
control style to be used |
This property is deprecated since v3.1.0.
public getItemType ( ) : TListItemType |
리턴 |
TListItemType |
item type |
Returns the tag name used for this control.
This property is deprecated since v3.1.0.
If the item is not in the item collection (e.g. it is a header item), -1 should be used.