Exemplo n.º 1
0
 public function _before_edit()
 {
     $map['id'] = $_REQUEST['id'];
     $node = new NodeModel();
     $menu = $node->getMenu();
     $pid = $node->where($map)->getField('pid');
     $selecttree = outNodeSelect($menu, $pid);
     $this->assign('selecttree', $selecttree);
 }