Class \Prado\Web\UI\WebControls\TListItem
TListItem class.
TListItem represents an item in a list control. Each item has a \Prado\Web\UI\WebControls\setText property and a \Prado\Web\UI\WebControls\setValue property. If either one of them is not set, it will take the value of the other property. An item can be \Prado\Web\UI\WebControls\setSelected or \Prado\Web\UI\WebControls\setEnabled, and it can have additional \Prado\Web\UI\WebControls\getAttributes which may be rendered if the list control supports so.
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
|
__construct([string $text = '' ][, string $value = '' ][, bool $enabled = true ][, bool $selected = false ]) : mixed
Constructor.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
_getZappableSleepProps(array<string|int, mixed> &$exprops) : mixed
Returns an array with the names of all variables of this object that should NOT be serialized
because their value is the default one or useless to be cached for the next page loads.
Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first. |
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |