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_collection.php 936B

1234567891011121314151617181920212223242526272829
  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 collections of of items implemented by another share backend.
  18. * Extends the Share_Backend interface.
  19. */
  20. interface Share_Backend_Collection extends Share_Backend {
  21. /**
  22. * Get the sources of the children of the item
  23. * @param string $itemSource
  24. * @return array Returns an array of children each inside an array with the keys: source, target, and file_path if applicable
  25. */
  26. public function getChildren($itemSource);
  27. }