(YII)AJAX CTreeView 实现动态加载无限级树

(YII)AJAX CTreeView 实现动态加载无限级树
首先,我们先建立数据用表coverage -- -- 表的结构 `coverage` -- CREATE TABLE IF NOT EXISTS `coverage` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `pid` int(10) unsigned DEFAULT NULL, `coverageName` varchar(100) DEFAULT NULL, `coverageDesc` varchar(200) DEFAULT NULL, PRIMARY KEY (`id`), KEY `pid` (`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ; -- -- 转存...