cvs: pear /DB_NestedSet/NestedSet TreeMenu.php

From: Date: Sat, 17 Jan 2004 23:25:43 +0000
Subject: cvs: pear /DB_NestedSet/NestedSet TreeMenu.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-15741@lists.php.net to get a copy of this message
datenpunk Sat Jan 17 18:25:43 2004 EDT Modified files: /pear/DB_NestedSet/NestedSet TreeMenu.php Log: Updated comments to reflect the new added params. Index: pear/DB_NestedSet/NestedSet/TreeMenu.php diff -u pear/DB_NestedSet/NestedSet/TreeMenu.php:1.16 pear/DB_NestedSet/NestedSet/TreeMenu.php:1.17 --- pear/DB_NestedSet/NestedSet/TreeMenu.php:1.16 Thu Jan 8 01:37:06 2004 +++ pear/DB_NestedSet/NestedSet/TreeMenu.php Sat Jan 17 18:25:42 2004 @@ -14,7 +14,7 @@ // +----------------------------------------------------------------------+ // | Authors: Jason Rust <jrust@rustyparts.com> | // +----------------------------------------------------------------------+ -// $Id: TreeMenu.php,v 1.16 2004/01/08 06:37:06 datenpunk Exp $ +// $Id: TreeMenu.php,v 1.17 2004/01/17 23:25:42 datenpunk Exp $ require_once 'HTML/TreeMenu.php'; // {{{ DB_NestedSet_TreeMenu:: class /** @@ -24,10 +24,19 @@ * @see docs/TreeMenu_example.php * @author Jason Rust <jrust@rustyparts.com> * @package DB_NestedSet - * @version $Revision: 1.16 $ + * @version $Revision: 1.17 $ * @access public */ // }}} +/** + * DB_NestedSet_TreeMenu + * + * @package + * @author daniel + * @copyright Copyright (c) 2004 + * @version $Id: TreeMenu.php,v 1.17 2004/01/17 23:25:42 datenpunk Exp $ + * @access public + **/ class DB_NestedSet_TreeMenu extends DB_NestedSet_Output { // {{{ properties /** @@ -82,9 +91,18 @@ * * @param array $params The configuration parameters. Available * params are: - * o 'structure' => The result from $nestedSet->getAllNodes(true) - * o 'textField' => The field in the table that has the text for node - * o 'linkField' => The field in the table that has the link for the node + * o 'structure' => [REQU] The result from $nestedSet->getAllNodes(true) + * o 'textField' => [REQU] The field in the table that has the text for node + * o 'linkField' => [REQU] The field in the table that has the link for the node + * The following params are optional. Please refer to HTML_TreeMenu's manual. + * The params are equal to the HTML_TreeMenu::Node properties without the 'Field' appended + * o 'iconField' => [OPT] + * o 'expandedIconField' => [OPT] + * o 'classField' => [OPT] + * o 'expandedField' => [OPT] + * o 'linkTargetField' => [OPT] + * o 'isDynamicField' => [OPT] + * o 'ensureVisibleField' => [OPT] * o 'options' => (optional) An array of any additional options to * pass to the node when it is created (i.e. icon, * class). See HTML_TreeNode for the options)

« previous php.pear.cvs (#15741) next »