getTree() public méthode

Returns the tree.
public getTree ( boolean $static = false ) : string
$static boolean If true the tree nodes can't be expanded and collapsed and the tree gets rendered expanded. This option has no effect in this driver.
Résultat string The HTML code of the rendered tree.
Exemple #1
0
 /**
  * Returns the tree.
  *
  * @param boolean $static  If true the tree nodes can't be expanded and
  *                         collapsed and the tree gets rendered expanded.
  *
  * @return string  The HTML code of the rendered tree.
  */
 public function getTree($static = false)
 {
     $this->_static = (bool) $static;
     return $this->_buildHeader() . parent::getTree($static);
 }