[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Tree/ -> select.php (sommaire)

(pas de description)

Poids: 127 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Horde_Tree_select:: (6 méthodes):
  Horde_Tree_select()
  getTree()
  isSupported()
  renderNodeDefinitions()
  addNodeParams()
  _buildTree()


Classe: Horde_Tree_select  - X-Ref

The Horde_Tree_select:: class extends the Horde_Tree class to provide
<option> tag rendering.

Copyright 2005-2006 Ben Chavet <ben@horde.org>

See the enclosed file COPYING for license information (LGPL). If you did
not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

$Horde: framework/Tree/Tree/select.php,v 1.2.2.7 2006/01/01 21:28:40 jan Exp $

Horde_Tree_select($tree_name, $params)   X-Ref
Constructor.


getTree()   X-Ref
Returns the tree.

return: string  The HTML code of the rendered tree.

isSupported()   X-Ref
Checks the current environment to see if we can render the HTML tree.
HTML is always renderable, at least until we add a php-gtk tree
backend, in which case this implementation will actually need a body.

return: boolean  Whether or not this Tree:: backend will function.

renderNodeDefinitions()   X-Ref
Returns just the JS node definitions as a string. This is a no-op for
the select renderer.


addNodeParams($id, $params = array()   X-Ref
Adds additional parameters to a node.

param: string $id     The unique node id.
param: array $params  Any other parameters to set.

_buildTree($node_id)   X-Ref
Recursive function to walk through the tree array and build the output.

param: string $node_id  The Node ID.
return: string  The tree rendering.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7