summaryrefslogtreecommitdiff
path: root/app/models/RSSPaginator.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-01-29 21:26:19 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-01-29 21:26:19 +0100
commit165eb57459a152b3cc6aa3fd15ca990c3d908829 (patch)
tree640ddacbc6eabc985646dd65b0578f369ea92321 /app/models/RSSPaginator.php
parent75096e6a39fe5d34d3951991f296f616e62a9fd8 (diff)
parentc053825ff8f9792e692c101585481129b006937b (diff)
Sortie de la version 0.70.7.0
Diffstat (limited to 'app/models/RSSPaginator.php')
-rw-r--r--app/models/RSSPaginator.php33
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);
- }
- }
-}