$subNodes = array();
$mod = D('Node');
foreach (explode ( ',', $ids ) as $k){
$res = $this ->_getSubNode($k,$subNodes[$k],$mod); //Get sub-nodes
=> $nid){
}
return ', $ ID);
$ RET = $ Mod- & GT; where ($ Condition)-& gt; Getfield (' ID ');
if (! Empty ($ RET [0])) {
foreach ($ret as $k => $node){
$arr[] = $node['id'];
$this->_getSubNode($node['id'], $arr, $mod);
?>
http://www.bkjia.com/PHPjc/327713.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/327713.html