/** * */ public function Info() { $o_dm = Datamodel::load(); $t_comments = new ca_item_comments(); $this->view->setVar('unmoderated_comment_count', $t_comments->getUnmoderatedCommentCount()); $this->view->setVar('moderated_comment_count', $t_comments->getModeratedCommentCount()); $this->view->setVar('total_comment_count', $t_comments->getCommentCount()); return $this->render('widget_comments_info_html.php', true); }