2014-11-26 11:14:17 +01:00
|
|
|
<?php
|
2024-05-23 09:26:56 +02:00
|
|
|
|
2014-11-26 11:14:17 +01:00
|
|
|
/**
|
2024-05-23 09:26:56 +02:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2014-11-26 11:14:17 +01:00
|
|
|
*/
|
|
|
|
// use OCP namespace for all classes that are considered public.
|
2024-05-23 09:26:56 +02:00
|
|
|
// This means that they should be used by apps instead of the internal Nextcloud classes
|
2019-11-22 20:52:10 +01:00
|
|
|
|
2014-11-26 11:14:17 +01:00
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
/**
|
2024-07-29 14:43:27 +08:00
|
|
|
* Interface for collections of items implemented by another share backend.
|
2014-11-26 11:14:17 +01:00
|
|
|
* Extends the Share_Backend interface.
|
2015-04-16 17:00:08 +02:00
|
|
|
* @since 5.0.0
|
2014-11-26 11:14:17 +01:00
|
|
|
*/
|
|
|
|
interface Share_Backend_Collection extends Share_Backend {
|
|
|
|
/**
|
|
|
|
* Get the sources of the children of the item
|
|
|
|
* @param string $itemSource
|
|
|
|
* @return array Returns an array of children each inside an array with the keys: source, target, and file_path if applicable
|
2015-04-16 17:00:08 +02:00
|
|
|
* @since 5.0.0
|
2014-11-26 11:14:17 +01:00
|
|
|
*/
|
|
|
|
public function getChildren($itemSource);
|
|
|
|
}
|