X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/14b5545c55923291604a2062f0e742b9632b00e9..4e742c74a0fc70b5cf452a5f5de83da11976c2a6:/test/HTML/arbol.php 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 ''; ?>