public static function findPaginate($page, $per_page) { $db = new Model(); $pics = $db->findWithPaginate("pics", $page, $per_page); return $pics; }