|  |  | 
 |  |  |      * 查看新闻 | 
 |  |  |      * @param [type] $id [description] | 
 |  |  |      */ | 
 |  |  |    public function LookAction(){ | 
 |  |  |       $id = $this->get('id'); | 
 |  |  |       if(!empty($id)){ | 
 |  |  |          $article = $this->article_service->getArticleInfo(array('_id' => $id)); | 
 |  |  |          if($article){ | 
 |  |  |             $this->getView()->assign('article', $article); | 
 |  |  |          } | 
 |  |  |          else{ | 
 |  |  |             $this->redirect('/error/show/type/no_data'); | 
 |  |  |          } | 
 |  |  |    public function LookAction($id){ | 
 |  |  |       $article_service = new Service_Article(); | 
 |  |  |       $article = $article_service->getArticleInfo(array('_id' => $id)); | 
 |  |  |       if($article){ | 
 |  |  |          $this->getView()->assign('article', $article); | 
 |  |  |       } | 
 |  |  |       else{ | 
 |  |  |          $this->redirect('/error/show/type/not_found'); | 
 |  |  |       } | 
 |  |  |          $this->redirect('/error/show/type/no_data'); | 
 |  |  |       }		 | 
 |  |  |    } | 
 |  |  |  | 
 |  |  | } |