Beispiel #1
0
 /**
  * Return posts with pagination
  * 
  * @return array	list of post
  **/
 public function posts()
 {
     return Flatfile::factory('Post')->limit(5)->find_all();
 }