PHP Class Horde_Tree_Renderer_Jquerymobile, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Deprecation: API of _buildTree() fails strict PHP code check
Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Tree_Renderer_Base
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
getTree ( $static = false ) : string Returns the tree.

Méthodes protégées

Méthode Description
_buildTree ( string $node_id, $special ) : string Recursive function to walk through the tree array and build the output.
_getIcon ( string $node_id ) : string Sets the icon for the node.

Method Details

_buildTree() protected méthode

Recursive function to walk through the tree array and build the output.
protected _buildTree ( string $node_id, $special ) : string
$node_id string The Node ID.
Résultat string The tree rendering.

_getIcon() protected méthode

Sets the icon for the node.
protected _getIcon ( string $node_id ) : string
$node_id string The Node ID.
Résultat string The node icon for the tree line.

getTree() public méthode

Returns the tree.
public getTree ( $static = false ) : string
Résultat string The HTML code of the rendered tree.