diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:03:27 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:03:27 +0100 |
commit | de16ffbec02c6fb9f2866b0909af8668f3c733c7 (patch) | |
tree | 7fb2326efca3a0ae764dcde1d2687b039823a75e /db/item.php | |
parent | 5a32f7a95687f7599c4c36f23a9807cf52a312d6 (diff) |
removed comments from item class
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/db/item.php b/db/item.php index 403f35b35..321c1d384 100644 --- a/db/item.php +++ b/db/item.php @@ -83,68 +83,3 @@ class Item extends Entity { } - - -/*class Item { - - private $url; - private $title; - private $guid; - private $body; - private $status; //a bit-field set with status flags - private $id; //id of the item in the database table - private $author; - private $date; //date is stored in the Unix format - private $feedTitle; - private $enclosure; // Enclosure object containing media attachment information - - public function __construct($url, $title, $guid, $body, $id = null) { - $this->title = $title; - $this->url = $url; - $this->guid = $guid; - $this->body = $body; - $this->enclosure = false; - if ($id == null) { - $this->status |= StatusFlag::UNREAD; - } - else { - $this->id = $id; - } - } - - - public function getBody() { - return $this->body; - } - - public function setBody($body) { - $this->body = $body; - } - - public function getAuthor() { - return $this->author; - } - - public function setAuthor($author) { - $this->author = $author; - } - - public function getDate() { - return $this->date; - } - - //TODO: check if the parameter is in the Unix format - public function setDate($date) { - $this->date = $date; - } - - public function getEnclosure() { - return $this->enclosure; - } - - public function setEnclosure(Enclosure $enclosure) { - $this->enclosure = $enclosure; - } -} - -*/
\ No newline at end of file |