Class HTML_TreeMenu_Listbox

Description

HTML_TreeMenu_Listbox class

This class presents the menu as a listbox

Located in /include/TreeMenu.php (line 720)

HTML_TreeMenu_Presentation
   |
   --HTML_TreeMenu_Listbox
Variable Summary
string $indentChar
integer $indentNum
string $linkTarget
string $promoText
Method Summary
HTML_TreeMenu_Listbox HTML_TreeMenu_Listbox (object $structure, [array $options = array()])
void toHTML ()
Variables
string $indentChar (line 732)

The character used for indentation

integer $indentNum (line 739)

How many of the indent chars to use

per indentation level

string $linkTarget (line 745)

Target for the links generated

string $promoText (line 726)

The text that is displayed in the first option

Inherited Variables

Inherited from HTML_TreeMenu_Presentation

HTML_TreeMenu_Presentation::$menu
Methods
Constructor HTML_TreeMenu_Listbox (line 762)

Constructor

HTML_TreeMenu_Listbox HTML_TreeMenu_Listbox (object $structure, [array $options = array()])
  • 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"
toHTML (line 780)

Returns the HTML generated

void toHTML ()

Inherited Methods

Inherited From HTML_TreeMenu_Presentation

HTML_TreeMenu_Presentation::HTML_TreeMenu_Presentation()
HTML_TreeMenu_Presentation::printMenu()

Documentation generated on Wed, 05 Oct 2011 10:36:47 +0200 by phpDocumentor 1.4.1