Inherited Variables
Inherited Constants
Inherited Methods
Class: HTML_TreeMenu_Presentation
- HTML_TreeMenu_Presentation::HTML_TreeMenu_Presentation()
- Base constructor simply sets the menu object
- HTML_TreeMenu_Presentation::printMenu()
- Prints the HTML generated by the toHTML() method.
Class Details
HTML_TreeMenu_Listbox class
This class presents the menu as a listbox
[ Top ]
Class Variables
$indentChar
[line 505]
The character used for indentation
Type: string
Overrides:
[ Top ]
$indentNum
[line 512]
How many of the indent chars to use
per indentation level
Type: integer
Overrides:
[ Top ]
$linkTarget
[line 518]
Target for the links generated
Type: string
Overrides:
[ Top ]
$promoText
[line 499]
The text that is displayed in the first option
Type: string
Overrides:
[ Top ]
Class Methods
HTML_TreeMenu_Listbox
HTML_TreeMenu_Listbox HTML_TreeMenu_Listbox(
object
$structure, [array
$options = array()])
[line 535]
Constructor
Parameters:
- object $structure - The menu structure
-
array
$options
-
Options whic affect the display of the listbox. These can consist of:
- promoText The text that appears at the the top of the listbox Defaults to "Select..."
- indentChar The character to use for indenting the nodes Defaults to " "
- indentNum How many of the indentChars to use per indentation level Defaults to 2
- linkTarget Target for the links. Defaults to "_self"
- submitText Text for the submit button. Defaults to "Go"
[ Top ]
toHTML
void toHTML(
)
[line 552]
Returns the HTML generated
Parameters:
[ Top ]