欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

xzn_html_tree1.0可折叠大纲测试例

程序员文章站 2024-02-17 15:08:10
...
// 测试例 require_once "xzn/html/tree.php"; $t = new Tree; $t->set("0","a1","url"); $t->set("0.0.0","aaa","url"); $t->set("0.0.0.0","bbb","url"); $t->set("0.0.0.2","ccc",""); $t->set("0.0.0.1","ddd","url"); $t->set("0.0","eee","url"); $t->set("1","ff","url"); //print_r($t); ?>
$t->display(); ?>