summaryrefslogtreecommitdiffstats
path: root/lib/item.php
diff options
context:
space:
mode:
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;
+ }
}