Overview

Packages

  • Tree

Classes

  • Horde_Tree
  • Horde_Tree_Base
  • Horde_Tree_Exception
  • Horde_Tree_Html
  • Horde_Tree_Jquerymobile
  • Horde_Tree_Select
  • Horde_Tree_Simplehtml
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Tree_Simplehtml

The Horde_Tree_Simplehtml:: class provides simple HTML rendering of a tree (no graphics).

Copyright 2010-2012 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.

Horde_Tree_Base implements Countable
Extended by Horde_Tree_Simplehtml
Package: Tree
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Tree/Simplehtml.php
Methods summary
public string
# getTree( boolean $static = false )

Returns the tree.

Returns the tree.

Parameters

$static
<p>If true the tree nodes can't be expanded and collapsed and the tree gets rendered expanded.</p>

Returns

string
The HTML code of the rendered tree.
public
# addNodeParams( string $id, array $params = array() )

Adds additional parameters to a node.

Adds additional parameters to a node.

Parameters

$id
The unique node id.
$params
Parameters to set (key/value pairs). <pre><span class="php-keyword1">class</span> - CSS <span class="php-keyword1">class</span> to <span class="php-keyword1">use</span> with this node url - URL to <span class="php-keyword2">link</span> the node to</pre>

Overrides

Horde_Tree_Base::addNodeParams()
Methods inherited from Horde_Tree_Base
__construct(), addNode(), addNodeExtra(), count(), fallback(), getOption(), isExpanded(), isSupported(), renderTree(), setHeader(), setOption(), sort(), sortHelper()
API documentation generated by ApiGen