summaryrefslogtreecommitdiffstats
path: root/lib/item.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-13 17:06:12 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-13 17:06:12 -0400
commit74129d1b9e97a5d59f72bd38b70a40a5d21a019f (patch)
tree2ffe991b24f612f07cd2666cb064812762d32f22 /lib/item.php
parent93e7732a7c9d88ba570d95220c7df46a455cb4aa (diff)
database tables changed
Diffstat (limited to 'lib/item.php')
-rw-r--r--lib/item.php9
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;
+ }
}