示例#1
0
 /**
  * 获取相册分类
  */
 public function show()
 {
     require_once ROOT_PATH . 'frm/node_frm.php';
     $node = new nodeFrm();
     $node->setXmlNode('nodes', 'node');
     $node->setNodeTable('category');
     $node->setNodeID(intval($this->input['fid']));
     $node->addExcludeNodeId($this->input['_exclude']);
     $data = $this->filter_data();
     $condition = $this->api->get_conditions($data);
     $node->getNodeChilds($condition, false);
     $node->output();
 }
示例#2
0
 /**
  * 获取相册分类
  */
 public function show()
 {
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         //权限验证
         $this->verify_content_prms(array('_action' => 'show'));
     }
     require_once ROOT_PATH . 'frm/node_frm.php';
     $node = new nodeFrm();
     $node->setXmlNode('nodes', 'node');
     $node->setNodeTable('category');
     $node->setNodeID(intval($this->input['fid']));
     $node->addExcludeNodeId($this->input['_exclude']);
     $data = $this->filter_data();
     $condition = $this->api->get_conditions($data);
     $node->getNodeChilds($condition);
     $node->output();
 }
示例#3
0
 public function __destruct()
 {
     parent::__destruct();
 }
示例#4
0
文件: node.php 项目: h3len/Project
 public function count()
 {
     parent::count($this->get_condition());
 }