document.inc.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. class Document {
  3. private $id = NULL;
  4. private $fileName = NULL;
  5. private $path = NULL;
  6. private $labelId = NULL;
  7. private $draft = NULL;
  8. private $created = NULL;
  9. private $lastChange = NULL;
  10. private $type = NULL;
  11. private $mailUid = NULL;
  12. public function __construct($id, $fileName, $path, $labelId, $draft, $created, $lastChange, $type, $mailUid) {
  13. $this->id = $id;
  14. $this->fileName = $fileName;
  15. $this->path = $path;
  16. $this->labelId = $labelId;
  17. $this->draft = $draft;
  18. $this->created = $created;
  19. $this->lastChange = $lastChange;
  20. $this->type = $type;
  21. $this->mailUid = $mailUid;
  22. }
  23. public function getId() {
  24. return $this->id;
  25. }
  26. public function getFileName() {
  27. return $this->fileName;
  28. }
  29. public function getPath() {
  30. return $this->path;
  31. }
  32. public function getDraft() {
  33. return $this->draft;
  34. }
  35. public function getCreated() {
  36. return $this->created;
  37. }
  38. public function getLastChange() {
  39. return $this->lastChange;
  40. }
  41. public function getType() {
  42. return $this->type;
  43. }
  44. public function getMailUid() {
  45. return $this->mailUid;
  46. }
  47. }
  48. ?>