nodeDao = InitPHP::getDao("node"); } /** * 获取所有的节点信息 * @return Ambigous */ public function getAllNode(){ return $this->nodeDao->getAllNode(); } /** * 根据id获取节点信息 * @param unknown $id */ public function getNodeById($id){ return $this->nodeDao->getNodeById($id); } }