Class QHListControl
Class QHListControl
A control that lets you dynamically create an html unordered or ordered hierarchical list with sub-lists. These structures are often used as the basis for javascript widgets like menu bars.
Also supports data binding. When using the data binder, it will recreate the item list each time it draws, and then delete the item list so that the list does not get stored in the formstate. It is common for lists like this to associate items in a database with items in a list through the value attribute of each item. In an effort to make sure that database ids are not exposed to the client (for security reasons), the value attribute is encrypted.
- QBaseClass
- QHtmlAttributeManagerBase
- QHtmlAttributeManager
- QControlBase
- QControl
- QHListControl uses QListItemManager, QDataBinder
public
|
#
AddItem(
Adds an item to the list. |
public
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
protected
string
|
|
protected
string
|
|
protected
|
#
GetItemStyler( mixed $objItem )
Return the item styler for the given item. Combines the generic item styles found in this class with any specific item styles found in the item. |
protected
string
|
|
public
string
|
|
protected
array|null|string
|
#
GetSubTagAttributes( mixed $objItem )
Return the attributes for the sub tag that wraps the item tags |
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
CallDataBinder(),
GetForm(),
HasDataBinder(),
SetDataBinder(),
Sleep(),
Wakeup()
|
CommentEnd,
CommentStart
|
protected
string
|
$strTag
top level tag |
#
'ul'
|
protected
string
|
$strItemTag
item tag |
#
'li'
|
protected
null| |
$objItemStyle
The common style for all elements in the list |
#
null
|
protected
null| |
$objCrypt
the temporary cryptography object for encrypting database values sent to the client |
#
null
|
protected
boolean
|
$blnEncryptValues
Whether to encrypt values |
#
true
|
$attributes,
$styles
|
$objListItemArray
|
$objDataBinder
|
public
string
|
$Tag
Tag for main wrapping object |
public
string
|
$ItemTag
Tag for each item |
public
boolean
|
$EncryptValues
Whether to encrypt the values that are printed in the html. Useful if the values are something you want to publicly hide, like database ids. True by default. |
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|