X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/14b5545c55923291604a2062f0e742b9632b00e9..5e37cbaf8433bb27744c2509d9caca702750f748:/test/HTML/arbol.php?ds=inline diff --git a/test/HTML/arbol.php b/test/HTML/arbol.php index 6c9c9b9..b0fc229 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, @@ -100,12 +100,15 @@ foreach ($arbol->toArray(true) as $id => $val) { echo ''; } echo ''; -$arbol->setActivado(16); +$arbol->setActivo(16); echo $arbol->toHTML(); echo ''; +echo "
Raiz\n";
+echo $arbol->toString();
+echo '
'; ?>