Class \Prado\Web\UI\WebControls\TRepeaterItem
TRepeaterItem class
A TRepeaterItem control represents an item in the TRepeater control, such as heading section, footer section, or a data item. The index and data value of the item can be accessed via \Prado\Web\UI\WebControls\getItemIndex> and \Prado\Web\UI\WebControls\getData properties, respectively. The type of the item is given by \Prado\Web\UI\WebControls\getItemType property.
Class hierarchy
- \Prado\Web\UI\WebControls\TRepeaterItem implements INamingContainer, IItemDataRenderer
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0
public
|
bubbleEvent(TControl $sender, TEventParameter $param) : bool
This method overrides parent's implementation by wrapping event parameter
for <b>OnCommand</b> event with item information.
|
public
|
|
public
|
getItemIndex() : int
Returns a value indicating the zero-based index of the item in the corresponding data control's item collection.
If the item is not in the collection (e.g. it is a header item), it returns -1. |
public
|
|
public
|
|
public
|
setItemIndex(int $value) : mixed
Sets the zero-based index for the item.
If the item is not in the item collection (e.g. it is a header item), -1 should be used. |
public
|