document.inc.php 572 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. class Document {
  3. private $id = NULL;
  4. private $fileName = NULL;
  5. private $path = NULL;
  6. private $labelId = NULL;
  7. public function __construct($id, $fileName, $path, $labelId) {
  8. $this->id = $id;
  9. $this->fileName = $fileName;
  10. $this->path = $path;
  11. $this->labelId = $labelId;
  12. }
  13. public function getId() {
  14. return $this->id;
  15. }
  16. public function getFileName() {
  17. return $this->fileName;
  18. }
  19. public function getPath() {
  20. return $this->path;
  21. }
  22. }
  23. ?>