Class QListItemBase
This base class represents an item in some kind of html item list. There are many types of possible lists, including checklists and hierarchical lists. This is the core functionality common to all of them.
- QBaseClass
- QListItemBase
Indirect known subclasses
QAutocompleteListItem
public
|
#
__construct( string $strName, string|null $strValue = null, null|
Creates a QListItem |
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
protected
null|string
|
$strName
Name of the Item |
#
null
|
protected
null|string
|
$strValue
Value of the Item |
#
null
|
protected
|
$objItemStyle
Custom attributes of the list item |
|
protected
string
|
$strId
the internal id |
public
string
|
$Name
Usually what gets displayed. Can be overridden by the Label attribute in certain situations. |
public
string
|
$Value
is any text that represents the value of the item (e.g. maybe a DB Id) |
public
|
$ItemStyle
Custom HTML attributes for this particular item. |
public
string
|
$Text
synonym of Name. Used to store longer text with the item. |
public
string
|
$Id
A place to save an id for the item. It is up to the corresponding list class to use this in the object. |
public read-only
boolean
|
$Empty
true when both $Name and $Value are null, in which case this item will be rendered with an empty value in the list control |