X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/14b5545c55923291604a2062f0e742b9632b00e9..5e5a90fdada3435734ebbea69878dc39a5e22131:/test/HTML/arbol.php diff --git a/test/HTML/arbol.php b/test/HTML/arbol.php index 6c9c9b9..02ba15a 100644 --- a/test/HTML/arbol.php +++ b/test/HTML/arbol.php @@ -48,7 +48,7 @@ $dat = array( // Datos {{{ 'link' => 'blabla', 'id' => 9, 'sub' => array(//sub2 {{{ - 5 => array( + array( 'titulo' => 'Nivel4', 'link' => 'blabla', 'id' => 8, @@ -87,7 +87,7 @@ $dat = array( // Datos {{{ ) ); // }}} -$arbol = new HTML_Arbol($dat, 'MI TITULO', '?raiz='); +$arbol = new MECON_HTML_Arbol($dat, 'MI TITULO', '?raiz='); echo ''; echo $arbol->toHTML(); echo ''; -$arbol->setActivado(16); +$arbol->setActivo(16); echo $arbol->toHTML(); echo ''; +echo "
Raiz\n"; +echo $arbol->toString(); +echo ''; ?>