Documentación GVHIDRA 3.1.5
Referencia de la Clase HTML_TreeMenu_Presentation
Diagrama de herencias de HTML_TreeMenu_Presentation
HTML_TreeMenu_DHTML HTML_TreeMenu_Listbox

Métodos públicos

 HTML_TreeMenu_Presentation (&$structure)
 printMenu ($options=array())

Campos de datos

 $menu

Descripción detallada

HTML_TreeMenu_Presentation class

Base class for other presentation classes to inherit from.

Definición en la línea 485 del archivo TreeMenu.php.


Documentación de las funciones miembro

HTML_TreeMenu_Presentation ( &$  structure)

Base constructor simply sets the menu object

Parámetros:
object$structureThe menu structure

Definición en la línea 498 del archivo TreeMenu.php.

    {
        $this->menu = &$structure;
    }
printMenu ( options = array())

Prints the HTML generated by the toHTML() method. toHTML() must therefore be defined by the derived class.

public

Parámetros:
arrayOptions to set. Any options taken by the presentation class can be specified here.

Definición en la línea 513 del archivo TreeMenu.php.

    {
        foreach ($options as $option => $value) {
            $this->$option = $value;
        }

        echo $this->toHTML();
    }

Documentación de los campos

$menu

Definición en la línea 491 del archivo TreeMenu.php.


La documentación para esta clase fue generada a partir del siguiente fichero: