diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-07 16:19:25 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-07 16:19:25 -0400 |
commit | e583df60d3c77d4e7f64a889b8951907c594b922 (patch) | |
tree | 13d48731ecd73a612db1c4e92c59f0d5e0a35c10 /lib/feed.php | |
parent | b1fc686d2079d63fe5e6cf10124981e69aa73194 (diff) |
creates a superclass collection for feeds and folders
Diffstat (limited to 'lib/feed.php')
-rw-r--r-- | lib/feed.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/feed.php b/lib/feed.php index 311068463..870fd64f6 100644 --- a/lib/feed.php +++ b/lib/feed.php @@ -23,10 +23,9 @@ /** * This class models a feed. */ -class OC_News_Feed { +class OC_News_Feed extends OC_News_Collection { private $url; - private $id; //id of the feed in the database private $spfeed; //encapsulate a SimplePie_Core object private $items; //array that contains all the items of the feed @@ -39,14 +38,6 @@ class OC_News_Feed { } } - public function getId(){ - return $this->id; - } - - public function setId($id){ - $this->id = $id; - } - public function getUrl(){ return $this->url; } |