dao->db->get_all($this->table_name, $num = NULL, $offest = 0, $field = array(), $id_key = 'node_order'); $result = $result[0]; $this->dao->cache->set("node", $result, 0); return $result; } /** * 根据id获取节点信息 * * @param unknown $id */ public function getNodeById($id) { $result = $this->dao->db->get_one($id, $this->table_name); return $result; } }