| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 591 lignes (17 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Horde_Tree_html:: (10 méthodes):
Horde_Tree_html()
getTree()
isSupported()
renderNodeDefinitions()
_buildHeader()
_buildTree()
_buildLine()
_setLabel()
_setNodeToggle()
_setNodeIcon()
Classe: Horde_Tree_html - X-Ref
The Horde_Tree_html:: class extends the Horde_Tree class to provide| Horde_Tree_html($tree_name, $params) X-Ref |
| Constructor |
| getTree($static = false) X-Ref |
| Returns the tree. param: boolean $static If true the tree nodes can't be expanded and return: string The HTML code of the rendered tree. |
| isSupported() X-Ref |
| Check 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 HTML renderer. |
| _buildHeader() X-Ref |
| Returns the HTML code for a header row, if necessary. return: string The HTML code of the header row or an empty string. |
| _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. |
| _buildLine($node_id) X-Ref |
| Function to create a single line of the tree. param: string $node_id The Node ID. return: string The rendered line. |
| _setLabel($node_id) X-Ref |
| Sets the label on the tree line. param: string $node_id The Node ID. return: string The label for the tree line. |
| _setNodeToggle($node_id) X-Ref |
| Sets the node toggle on the tree line. param: string $node_id The Node ID. return: string The node toggle for the tree line. |
| _setNodeIcon($node_id) X-Ref |
| Sets the icon for the node. param: string $node_id The Node ID. return: string The node icon for the tree line. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |