phpDocumentor HTML_TreeMenu
[ class tree: HTML_TreeMenu ] [ index: HTML_TreeMenu ] [ all elements ]

Class: HTML_TreeMenu_Listbox

Source Location: /HTML_TreeMenu-1.1.2/TreeMenu.php

Class HTML_TreeMenu_Listbox

Class Overview

HTML_TreeMenu_Listbox class

This class presents the menu as a listbox

Located in /HTML_TreeMenu-1.1.2/TreeMenu.php [line 493]

HTML_TreeMenu_Presentation
   |
   --HTML_TreeMenu_Listbox

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From HTML_TreeMenu_Presentation

HTML_TreeMenu_Presentation::$menu

Inherited From 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.

[ Top ]
Property Summary
string   $indentChar   The character used for indentation
integer   $indentNum   How many of the indent chars to use
string   $linkTarget   Target for the links generated
string   $promoText   The text that is displayed in the first option

[ Top ]
Method Summary
HTML_TreeMenu_Listbox   HTML_TreeMenu_Listbox()   Constructor
void   toHTML()   Returns the HTML generated

[ Top ]
Properties
string   $indentChar [line 505]

The character used for indentation


[ Top ]
integer   $indentNum [line 512]

How many of the indent chars to use

per indentation level


[ Top ]
string   $linkTarget [line 518]

Target for the links generated


[ Top ]
string   $promoText [line 499]

The text that is displayed in the first option


[ Top ]
Methods
Constructor HTML_TreeMenu_Listbox  [line 535]

  HTML_TreeMenu_Listbox HTML_TreeMenu_Listbox( object $structure, [array $options = array()]  )

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  [line 552]

  void toHTML( )

Returns the HTML generated



[ Top ]

Documentation generated on Tue, 24 Oct 2006 09:26:34 -0500 by phpDocumentor 1.3.1