Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-31 16:29:55 +0400
committerRobin Appelman <icewind@owncloud.com>2014-04-03 15:27:09 +0400
commit6dd3215eae9b7190fb774ef49973355493376f22 (patch)
treef30a043adf7da8ba395a1cdf748c21aacbac5e54 /apps/files_sharing
parente96c36505481df94fdccac618dccce1c1a70411e (diff)
Improve phpdoc
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/cache.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php
index f733e048060..ee31da1d6e7 100644
--- a/apps/files_sharing/lib/cache.php
+++ b/apps/files_sharing/lib/cache.php
@@ -393,6 +393,13 @@ class Shared_Cache extends Cache {
return false;
}
+ /**
+ * get the path of a file on this storage by it's id
+ *
+ * @param int $id
+ * @param string $pathEnd (optional) used internally for recursive calls
+ * @return string | null
+ */
public function getPathById($id, $pathEnd = '') {
// direct shares are easy
if ($path = $this->getShareById($id)) {