Exemplo n.º 1
0
 public function userComments(HumanHelp_Model_Page $page)
 {
     $comments = $page->getComments();
     if (empty($comments)) {
         return 'There are currently no user contributed comments for this page';
     } else {
         $html = '';
         foreach ($comments as $comment) {
             $html .= $this->_buildCommentHtml($comment);
         }
         return $html;
     }
 }