You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Download.php 839B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. namespace SCF\Additionals;
  3. class Download
  4. {
  5. /**
  6. * @var string
  7. */
  8. private $absolutePath;
  9. /**
  10. * @var string
  11. */
  12. private $fileName;
  13. public function __construct()
  14. {
  15. }
  16. /**
  17. * @param string $fileName
  18. */
  19. public function setFileName($fileName)
  20. {
  21. $this->fileName = $fileName;
  22. }
  23. /**
  24. * @return string
  25. */
  26. public function getFileName()
  27. {
  28. return $this->fileName;
  29. }
  30. /**
  31. * @return string
  32. */
  33. public function getAbsolutePath()
  34. {
  35. return $this->absolutePath;
  36. }
  37. /**
  38. * @param string $absolutePath
  39. */
  40. public function setAbsolutePath($absolutePath)
  41. {
  42. $this->absolutePath = $absolutePath;
  43. }
  44. //TODO: Finishing Download Class to generate correct Downloads for Page!
  45. }