Class Horde_Tree_html

Description

The Horde_Tree_html:: class extends the Horde_Tree class to provide HTML specific rendering functions.

Copyright 2003-2009 The Horde Project (http://www.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/html.php,v 1.51.2.16 2009/01/06 15:23:44 jan Exp $

Located in /Tree/Tree/html.php (line 17)

Horde_Tree
   |
   --Horde_Tree_html
Variable Summary
Method Summary
 static boolean isSupported ()
 Horde_Tree_html Horde_Tree_html ( $tree_name,  $params)
 string getTree ([boolean $static = false])
Variables
integer $_alt_count = 0 (line 150)

Current value of the alt tag count.

array $_dropline = array() (line 143)

TODO

string $_img_blank = 'blank.png' (line 38)

Default tree graphic for a blank.

string $_img_dir = '' (line 24)

Image directory location.

string $_img_folder = 'folder.png' (line 108)

Default tree graphic for a folder.

string $_img_folder_open = 'folderopen.png' (line 115)

Default tree graphic for an open folder.

string $_img_join = 'join.png' (line 45)

Default tree graphic for a join.

string $_img_join_bottom = 'joinbottom.png' (line 52)

Default tree graphic for a bottom join.

string $_img_leaf = 'leaf.png' (line 122)

Default tree graphic for a leaf.

string $_img_line = 'line.png' (line 31)

Default tree graphic for a line.

string $_img_minus = 'minus.png' (line 80)

Default tree graphic for a minus.

string $_img_minus_bottom = 'minusbottom.png' (line 87)

Default tree graphic for a bottom minus.

string $_img_minus_only = 'minusonly.png' (line 94)

Default tree graphic for a minus only.

string $_img_null_only = 'nullonly.png' (line 101)

Default tree graphic for a null only.

string $_img_plus = 'plus.png' (line 59)

Default tree graphic for a plus.

string $_img_plus_bottom = 'plusbottom.png' (line 66)

Default tree graphic for a bottom plus.

string $_img_plus_only = 'plusonly.png' (line 73)

Default tree graphic for a plus only.

array $_nodes = array() (line 129)

TODO


Redefinition of:
Horde_Tree::$_nodes
An array containing all the tree nodes.
array $_node_pos = array() (line 136)

TODO

Inherited Variables

Inherited from Horde_Tree

Horde_Tree::$_extra_cols_left
Horde_Tree::$_extra_cols_right
Horde_Tree::$_header
Horde_Tree::$_instance
Horde_Tree::$_options
Horde_Tree::$_root_nodes
Horde_Tree::$_sortCriteria
Horde_Tree::$_static
Horde_Tree::$_usesession
Methods
static isSupported (line 206)

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: Whether or not this Tree:: backend will function.
static boolean isSupported ()
Constructor Horde_Tree_html (line 155)

Constructor

Horde_Tree_html Horde_Tree_html ( $tree_name,  $params)
  • $tree_name
  • $params
getTree (line 184)

Returns the tree.

  • return: The HTML code of the rendered tree.
string getTree ([boolean $static = false])
  • boolean $static: If true the tree nodes can't be expanded and collapsed and the tree gets rendered expanded.
renderNodeDefinitions (line 215)

Returns just the JS node definitions as a string. This is a no-op for the HTML renderer.

void renderNodeDefinitions ()

Inherited Methods

Inherited From Horde_Tree

 Horde_Tree::Horde_Tree()
 Horde_Tree::addNode()
 Horde_Tree::addNodeExtra()
 Horde_Tree::addNodeParams()
 Horde_Tree::factory()
 Horde_Tree::fallback()
 Horde_Tree::getOption()
 Horde_Tree::isExpanded()
 Horde_Tree::renderTree()
 Horde_Tree::setHeader()
 Horde_Tree::setOption()
 Horde_Tree::singleton()
 Horde_Tree::sort()
 Horde_Tree::_buildIndents()

Documentation generated on Sun, 30 Jan 2011 05:18:12 +0000 by phpDocumentor 1.4.3