summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-31 14:29:55 +0200
committerRobin Appelman <icewind@owncloud.com>2014-03-31 14:29:55 +0200
commit0c2585f3ac9dbf82bf45023963dfecc66c515b78 (patch)
tree45b681da071c5df275ce7c331b2b108e944659bf /apps
parentfe78d963d9a7cbae6aabd8e1a275c6de783440ba (diff)
downloadnextcloud-server-0c2585f3ac9dbf82bf45023963dfecc66c515b78.tar.gz
nextcloud-server-0c2585f3ac9dbf82bf45023963dfecc66c515b78.zip
Improve phpdoc
Diffstat (limited to 'apps')
-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 49b1d208d48..eeb62c3cce2 100644
--- a/apps/files_sharing/lib/cache.php
+++ b/apps/files_sharing/lib/cache.php
@@ -400,6 +400,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)) {