PHP Class 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.
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Méthodes publiques
Méthodes protégées
Méthode |
Description |
|
createStyle ( ) : TStyle |
Creates a style object for the control. |
|
getTagName ( ) : string |
Returns the tag name used for this control. |
|
Method Details
bubbleEvent()
public méthode
This method overrides parent's implementation by wrapping event parameter
for OnCommand event with item information.
createStyle()
protected méthode
This method creates a {@link TTableItemStyle} to be used by a datalist item.
protected createStyle ( ) : TStyle |
Résultat |
TStyle |
control style to be used |
getDataItem()
public méthode
This property is deprecated since v3.1.0.
getItemIndex()
public méthode
getItemType()
public méthode
public getItemType ( ) : TListItemType |
Résultat |
TListItemType |
item type |
getTagName()
protected méthode
Returns the tag name used for this control.
setDataItem()
public méthode
This property is deprecated since v3.1.0.
setItemIndex()
public méthode
If the item is not in the item collection (e.g. it is a header item), -1 should be used.
setItemType()
public méthode
setTagName()
public méthode