getAllComments() public static method

Get all comments (at least a chunk)
public static getAllComments ( integer $limit = 10, integer $offset ) : array
$limit integer The number of items to get.
$offset integer The offset.
return array
Example #1
0
 /**
  * Load the data, don't forget to validate the incoming data
  */
 private function getData()
 {
     $this->items = FrontendBlogModel::getAllComments();
 }