|
|
@@ -5,12 +5,18 @@ class Document {
|
|
|
private $fileName = NULL;
|
|
|
private $path = NULL;
|
|
|
private $labelId = NULL;
|
|
|
+ private $draft = NULL;
|
|
|
+ private $created = NULL;
|
|
|
+ private $lastChange = NULL;
|
|
|
|
|
|
- public function __construct($id, $fileName, $path, $labelId) {
|
|
|
- $this->id = $id;
|
|
|
- $this->fileName = $fileName;
|
|
|
- $this->path = $path;
|
|
|
- $this->labelId = $labelId;
|
|
|
+ public function __construct($id, $fileName, $path, $labelId, $draft, $created, $lastChange) {
|
|
|
+ $this->id = $id;
|
|
|
+ $this->fileName = $fileName;
|
|
|
+ $this->path = $path;
|
|
|
+ $this->labelId = $labelId;
|
|
|
+ $this->draft = $draft;
|
|
|
+ $this->created = $created;
|
|
|
+ $this->lastChange = $lastChange;
|
|
|
}
|
|
|
|
|
|
public function getId() {
|
|
|
@@ -25,6 +31,18 @@ class Document {
|
|
|
return $this->path;
|
|
|
}
|
|
|
|
|
|
+ public function getDraft() {
|
|
|
+ return $this->draft;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function getCreated() {
|
|
|
+ return $this->created;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function getLastChange() {
|
|
|
+ return $this->lastChange;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
?>
|