diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 17:55:03 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 17:55:03 +0100 |
commit | 97855d5d6aa19bb1b02934b8415fb56651e63304 (patch) | |
tree | b65955fd82f4019b532948cc9c06d73a3583a811 /feed.bl.php | |
parent | f2e5c7060f55dd9e6949630caf029a963c57bea0 (diff) |
updated docs
Diffstat (limited to 'feed.bl.php')
-rw-r--r-- | feed.bl.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/feed.bl.php b/feed.bl.php deleted file mode 100644 index 43e0faf6f..000000000 --- a/feed.bl.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php - -namespace OCA\News; - -class FeedBl { - - public function __construct($feedMapper){ - $this->feedMapper = $feedMapper; - } - - public function getAll() { - return $this->feedMapper->findAll(); - } - - public function getById($feedid) { - return $this->feedMapper->findById($feedid); - } - - public function delete($feedid) { - return $this->feedMapper->deleteById($feedid); - } - - public function create($url, $folderid) { - $feed = new Feed($url); - $this->feedMapper->save($feed, $folderid); - $feed = Utils::fetch($url); - if ($feed != null) { - $this->feedMapper->save($feed, $folderid); - } - return true; - } - -} |