摘要:
先去ueditou.baidu.com网站下载百度编辑器,放到项目根目录下的Data目录中,然后引入文件 Document 效果图: 阅读全文
posted @ 2016-01-10 17:23
屌丝IT男
阅读(393)
评论(0)
推荐(0)
摘要:
方法:static public function getChildren($data,$pid){ $arr=array(); foreach ($data as $v) { if ($v['pid']==$pid) { ... 阅读全文
posted @ 2016-01-10 16:16
屌丝IT男
阅读(750)
评论(0)
推荐(0)
摘要:
方法:static public function getParents($data,$id){ $arr=array(); foreach ($data as $v) { if ($v['id']==$id) { $a... 阅读全文
posted @ 2016-01-10 15:59
屌丝IT男
阅读(817)
评论(0)
推荐(0)
摘要:
方法代码: static public function unlimitedForLayer($data,$pid=0){ $arr=array(); foreach ($data as $v) { if ($v['pid']==$pid) {... 阅读全文
posted @ 2016-01-10 15:37
屌丝IT男
阅读(524)
评论(0)
推荐(0)
摘要:
在Home模块下建一个Clas文件夹,里面建一个Cate.class.php类文件,类文件代码:php代码如下:array( 'id'=>1, 'pid'=>0 ), ... 阅读全文
posted @ 2016-01-10 14:55
屌丝IT男
阅读(857)
评论(0)
推荐(0)

浙公网安备 33010602011771号