[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Tree/ -> javascript.php (sommaire)

(pas de description)

Poids: 187 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Horde_Tree_javascript:: (7 méthodes):
  Horde_Tree_javascript()
  getTree()
  isSupported()
  renderNodeDefinitions()
  _getTreeSource()
  _getTreeInit()
  _getJsArrayElement()


Classe: Horde_Tree_javascript  - X-Ref

The Horde_Tree_javascript:: class extends the Horde_Tree class to provide
javascript specific rendering functions.

Copyright 2003-2006 Marko Djukic <marko@oblo.com>

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/javascript.php,v 1.34.2.9 2006/01/01 21:28:40 jan Exp $

Horde_Tree_javascript($tree_name, $params = array()   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. We check for DOM support in the browser.

return: boolean  Whether or not this Tree:: backend will function.

renderNodeDefinitions()   X-Ref
Returns just the JS node definitions as a string.

return: string  The Javascript node array definitions.

_getTreeSource()   X-Ref
Outputs the data for the tree as a javascript array.


_getTreeInit()   X-Ref
Outputs the javascript to initialise the tree.


_getJsArrayElement($var, $value)   X-Ref
Pas de description



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7