diff options
Diffstat (limited to 'lib/item.php')
-rw-r--r-- | lib/item.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/item.php b/lib/item.php index f2d4fbd63..95a64859c 100644 --- a/lib/item.php +++ b/lib/item.php @@ -34,6 +34,7 @@ class Item { private $id; //id of the item in the database table private $author; private $date; //date is stored in the Unix format + private $feedTitle; public function __construct($url, $title, $guid, $body, $id = null) { $this->title = $title; @@ -119,6 +120,14 @@ class Item { public function setTitle($title) { $this->title = $title; } + + public function getFeedTitle() { + return $this->feedTitle; + } + + public function setFeedTitle($feedtitle) { + $this->feedTitle = $feedtitle; + } public function getUrl() { return $this->url; |