aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/files/folder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/files/folder.php')
-rw-r--r--lib/public/files/folder.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/files/folder.php b/lib/public/files/folder.php
index 7fec1c529a5..9797fbc46ed 100644
--- a/lib/public/files/folder.php
+++ b/lib/public/files/folder.php
@@ -117,6 +117,15 @@ interface Folder extends Node {
public function searchByMime($mimetype);
/**
+ * search for files by tag
+ *
+ * @param string|int $tag tag name or tag id
+ * @param string $userId owner of the tags
+ * @return \OCP\Files\Node[]
+ */
+ public function searchByTag($tag, $userId);
+
+ /**
* get a file or folder inside the folder by it's internal id
*
* @param int $id