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.

share_backend_file_dependent.php 902B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * ownCloud
  4. *
  5. * @author Bjoern Schiessle, Michael Gapczynski
  6. * @copyright 2012 Michael Gapczynski <mtgap@owncloud.com>
  7. * 2014 Bjoern Schiessle <schiessle@owncloud.com>
  8. *
  9. * This file is licensed under the Affero General Public License version 3 or
  10. * later.
  11. * See the COPYING-README file.
  12. */
  13. // use OCP namespace for all classes that are considered public.
  14. // This means that they should be used by apps instead of the internal ownCloud classes
  15. namespace OCP;
  16. /**
  17. * Interface for share backends that share content that is dependent on files.
  18. * Extends the Share_Backend interface.
  19. */
  20. interface Share_Backend_File_Dependent extends Share_Backend {
  21. /**
  22. * Get the file path of the item
  23. * @param string $itemSource
  24. * @param string $uidOwner User that is the owner of shared item
  25. * @return string|false
  26. */
  27. public function getFilePath($itemSource, $uidOwner);
  28. }