From 17814509754fa405d1f7be716cbeca1cd08deda8 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Mon, 15 Oct 2012 00:36:44 -0400 Subject: specifies name of the blog when showing items --- lib/item.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/item.php') 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; -- cgit v1.2.3