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
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
getTree ( $static = false ) : string Returns the tree.

Protected Methods

Method 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 method

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.
return string The tree rendering.

_getIcon() protected method

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

getTree() public method

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