可折叠大纲测试例

发表于:2007-07-14来源:作者:点击数: 标签:
<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","clearcase/" target="_blank" >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();

?>

原文转自:http://www.ltesting.net