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

Class: DB_NestedSet_TigraMenu

Source Location: /DB_NestedSet-1.4.1/NestedSet/TigraMenu.php

Class Overview

DB_NestedSet_Output
   |
   --DB_NestedSet_TigraMenu

This class can be used to generate the data to build javascript popup menu from a DB_NestedSet node array.


Author(s):

Version:

  • $Revision: 244556 $

Methods


Inherited Variables

Inherited Methods

Class: DB_NestedSet_Output

DB_NestedSet_Output::factory()
Returns a output driver object
DB_NestedSet_Output::listbox_toHTML()
Returns the HTML for the listbox. This method can be used instead of printListbox() to use the menu system with a template system.
DB_NestedSet_Output::printListbox()
Print's a listbox representing the current tree Overriden by the driver class
DB_NestedSet_Output::printTree()
Print's the current tree using the output driver Overriden by the driver class
DB_NestedSet_Output::returnStructure()
DB_NestedSet_Output::setOptions()
Set's options for a specific output group (printTree, printListbox) This enables you to set specific options for each output method
DB_NestedSet_Output::tree_toHTML()
Returns the HTML for the DHTML-menu. This method can be used instead of printMenu() to use the menu system with a template system.

Class Details

[line 38]
This class can be used to generate the data to build javascript popup menu from a DB_NestedSet node array.

The Javascript part is done using the free available TigraMenu available at http://www.softcomplex.com/products/tigra_menu/. Currently version 1.0 is supported. Parts of this class where taken ftom the TreemMenu driver by Jason Rust



[ Top ]


Method Detail

DB_NestedSet_TigraMenu (Constructor)   [line 76]

bool DB_NestedSet_TigraMenu( array $params)

Constructor
  • See: _createFromStructure()

Parameters:

array   $params     A hash with parameters needed by the class

[ Top ]

printTree   [line 387]

void printTree( )

Print's the current tree using the output driver
  • Access: public

Overrides DB_NestedSet_Output::printTree() (Print's the current tree using the output driver Overriden by the driver class)
[ Top ]


Documentation generated on Sun, 25 Apr 2010 21:30:10 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.