xzn_html_tree(1.0)可折叠大纲测试例
时间:2007-02-17 来源:PHP爱好者
<pre>
<?
// 测试例
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);
?>
</pre>
<?
$t->display();
?>
php爱好者站 http://www.phpfans.net php动态|php基础|php进阶|php模板.
<?
// 测试例
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);
?>
</pre>
<?
$t->display();
?>
php爱好者站 http://www.phpfans.net php动态|php基础|php进阶|php模板.
相关阅读 更多 +