diff options
Diffstat (limited to 'app/models/RSSPaginator.php')
| -rw-r--r-- | app/models/RSSPaginator.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app/models/RSSPaginator.php b/app/models/RSSPaginator.php deleted file mode 100644 index 86b4b5cac..000000000 --- a/app/models/RSSPaginator.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php - -// Un système de pagination beaucoup plus simple que Paginator -// mais mieux adapté à nos besoins -class RSSPaginator { - private $items = array (); - private $next = ''; - - public function __construct ($items, $next) { - $this->items = $items; - $this->next = $next; - } - - public function isEmpty () { - return empty ($this->items); - } - - public function items () { - return $this->items; - } - - public function next () { - return $this->next; - } - - public function render ($view, $getteur) { - $view = APP_PATH . '/views/helpers/'.$view; - - if (file_exists ($view)) { - include ($view); - } - } -} |
