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

Class: HTML_TreeMenu_Listbox

Source Location: /HTML_TreeMenu-1.2.2/HTML/TreeMenu.php

Class Overview

HTML_TreeMenu_Presentation
   |
   --HTML_TreeMenu_Listbox

HTML_TreeMenu_Listbox class


Author(s):

Variables

Methods


Inherited Variables

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

[line 867]
HTML_TreeMenu_Listbox class

This class presents the menu as a listbox



[ Top ]


Class Variables

$indentChar =

[line 883]

The character used for indentation
  • Access: public

Type:   string


[ Top ]

$indentNum =

[line 889]

How many of the indent chars to use per indentation level
  • Access: public

Type:   int


[ Top ]

$linkTarget =

[line 895]

Target for the links generated
  • Access: public

Type:   string


[ Top ]

$promoText =

[line 877]

The text that is displayed in the first option
  • Access: public

Type:   string


[ Top ]



Method Detail

HTML_TreeMenu_Listbox (Constructor)   [line 923]

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

Constructor
  • Access: public

Parameters:

object   $structure   —  The menu structure
array   $options   —  Options which affect the display of the listbox. These can consist of:
                           o promoText  The text that appears at the the
                                        top of the listbox
                                        Defaults to "Select..."
                           o indentChar The character to use for indenting
                                        the nodes
                                        Defaults to " "
                           o indentNum  How many of the indentChars to use
                                        per indentation level
                                        Defaults to 2
                           o linkTarget Target for the links.
                                        Defaults to "_self"
                           o submitText Text for the submit button.
                                        Defaults to "Go"

[ Top ]

toHTML   [line 944]

string toHTML( )

Returns the HTML generated
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.