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 Overview

HTML_TreeMenu_Presentation
   |
   --HTML_TreeMenu_Listbox

HTML_TreeMenu_Listbox class


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 493]
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


[ Top ]

$indentNum =

[line 512]

How many of the indent chars to use

per indentation level



Type:  integer


[ Top ]

$linkTarget =

[line 518]

Target for the links generated


Type:  string


[ Top ]

$promoText =

[line 499]

The text that is displayed in the first option


Type:  string


[ Top ]



Class 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 ]

method toHTML [line 552]

void toHTML( )

Returns the HTML generated



[ Top ]

    Поддержать сайт на родительском проекте КГБ