diff options
Diffstat (limited to 'app/classes/Planet.php')
-rw-r--r-- | app/classes/Planet.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/classes/Planet.php b/app/classes/Planet.php index 402d2d0..1555c25 100644 --- a/app/classes/Planet.php +++ b/app/classes/Planet.php @@ -81,6 +81,19 @@ class Planet } /** + * @return array $items + */ + public function getFeedsItems() + { + $items = []; + if (0 < $this->loadOpml($this->config->getOpmlFile())) { + $this->loadFeeds(); + $items = $this->getItems(); + } + return $items; + } + + /** * Getters */ public function getItems() |