getRecentComments() public static method

Get recent comments
public static getRecentComments ( integer $limit = 5 ) : array
$limit integer The number of comments to get.
return array
Example #1
0
 /**
  * Parse
  */
 private function parse()
 {
     $this->tpl->assign('widgetBlogRecentComments', FrontendBlogModel::getRecentComments(5));
 }