PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_TreeMenu

Provides an api to create a HTML tree

This package is unmaintained.

Download latest release 1.2.2 (archived versions might be outdated)

License: BSD

Description

PHP Based api creates a tree structure using a couple of
small PHP classes. This can then be converted to javascript
using the printMenu() method. The tree is dynamic in
IE 4 or higher, NN6/Mozilla and Opera 7, and maintains state
(the collapsed/expanded status of the branches) by using cookies.
Other browsers display the tree fully expanded. Each node can
have an optional link and icon. New API in 1.1 with many changes
(see CVS for changelog) and new features, of which most came
from Chip Chapin (http://www.chipchapin.com).

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#164ClosedBug2003-10-29bug report with fix: "expanded" option not working on nodes
#165ClosedBug2003-10-29User Agent Identification for Opera 7 incorrect
#331ClosedBug2003-11-30Konqueror detection patch is wrong
#360BogusBug2003-12-05Javascript do not work with mozilla 1.5
#364No FeedbackBug2003-12-05Client side persistence not working
#379No FeedbackBug2003-12-08Javascript errors on node expand in Safari
#1015BogusBug2004-03-15addItem divergent behavior
#1382BogusBug2004-05-11javascript as link in treenode doen'st work
#1555BogusBug2004-06-03Creating a HTML_TreeMenu instance from a XML source fails.
#1776ClosedBug2004-07-02[CDATA[ addition to javascript code
#1782BogusBug2004-07-03Call to undefined function: writeOutput()
#1808BogusBug2004-07-06Error with creating tree from XML
#2058BogusBug2004-08-04HTML_TreeMenu_DHTML->printMenu() produces no output
#2259BogusBug2004-08-31Two nodes (one empty) for only one node in the xml tree
#2392ClosedBug2004-09-24Nodes open expanded on mulitiple menus
#2881BogusBug2004-12-03TreeMenu not displayed in browser
#2882BogusBug2004-12-03TreeMenu not displayed in browser
#3248Wont fixReq2005-01-19Move picture to middle in tree view
#3292Wont fixReq2005-01-25Listbox compatibility with QuickForm
#4309BogusReq2005-05-09sorry... double report
#5595ClosedReq2005-10-03"language" attribute in <script> tag won't validate as XHTML strict
#5596OpenReq2005-10-03<noscript> version of the tree in toHTML()
#5833ClosedReq2005-10-31DHTML Menu icon size is fixed, so custom icons may not display correcly
#7324ClosedBug1.2.02006-04-06Problem using together with XMLRPC
#7435ClosedReq1.2.02006-04-20createFromXML comments
#8757Wont fixBug1.2.02006-09-21No node created using xml from file
#9615No FeedbackBug1.2.02006-12-14Bug with collapsed icon
#9750OpenBug1.2.02007-01-05Using "kriesing" tree type the "nodeOptions" paramether is not working.
#9751No FeedbackDoc1.2.02007-01-05version number on the file is 1.21
#13609DuplicateReq1.2.02008-04-06make javascript menu render html
#13665ClosedBug1.2.12008-04-13phpcs errors
#14340FeedbackBug1.2.12008-07-12treemenus break if prototype.js is loaded in safari
#14499OpenBug1.2.12008-08-13working with AJAX
#14941ClosedReqCVS2008-11-03Improve PHPCS results (javascript, tabs vs spaces)
#15292ClosedBugCVS2008-12-10Unit test failure -Fatal error: Call to undefined method Tree::setup()
#15957ClosedReq2009-02-27images dont "work" on dark(er) backgrounds
#16718ClosedDoc1.2.12009-10-20sample simple example fails
#17696ClosedBug1.2.12010-08-13Patch in order to allow minimization of JS code
#17852BogusBug1.2.12010-09-08Deprecated:
#18310OpenReq1.2.22011-02-24Fixed width display and line wrapping.
#18311ClosedBug1.2.22011-02-24nobr tags are deprecated
#19112ClosedBugSVN2011-12-07upgrade PHPUnit require statements (for PEAR QA Team)
#19113ClosedBugSVN2011-12-07have tests use MYSQL_TEST_* environment variables
#19115ClosedBugSVN2011-12-07warning in createFromStructure(): Invalid argument supplied for foreach()
#19116OpenBugSVN2011-12-07EXPECT section lacks expected output in testBug_9750.phpt
#19520Wont fixReq1.2.22012-07-19Deprecated error