diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-13 17:06:12 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-13 17:06:12 -0400 |
commit | 74129d1b9e97a5d59f72bd38b70a40a5d21a019f (patch) | |
tree | 2ffe991b24f612f07cd2666cb064812762d32f22 /lib/item.php | |
parent | 93e7732a7c9d88ba570d95220c7df46a455cb4aa (diff) |
database tables changed
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 ffbf71760..3e9b3f5b7 100644 --- a/lib/item.php +++ b/lib/item.php @@ -32,6 +32,7 @@ class Item { private $body; private $status; //a bit-field set with status flags private $id; //id of the item in the database table + private $author; public function __construct($url, $title, $guid, $body, $id = null){ $this->title = $title; @@ -121,4 +122,12 @@ class Item { public function setBody($body){ $this->body = $body; } + + public function getAuthor(){ + return $this->author; + } + + public function setAuthor($author){ + $this->author = $author; + } } |