Beispiel #1
0
 /** @return void */
 public function renderDetail($articleId)
 {
     $articleCategories = $this->article->getAllCategories();
     $articleComments = $this->article->getAllComments();
     $this->template->article = $this->article;
     $this->template->articleCategories = $articleCategories;
     $this->template->articleComments = $articleComments;
 }
Beispiel #2
0
 /** @return void */
 public function renderDetail($articleId)
 {
     $articleCategories = $this->article->getAllCategories();
     $articleNotCategories = $this->articles->getNotCategories($this->article, $this->categories->findAll());
     $articleComments = $this->article->getAllComments();
     $this->template->article = $this->article;
     $this->template->articleCategories = $articleCategories;
     $this->template->articleComments = $articleComments;
     $this->template->articleNotCategories = $articleNotCategories;
 }