diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-04 14:01:15 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-11 17:38:50 +0100 |
commit | 25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf (patch) | |
tree | f45b35dd647870b6c3aeded3e8e11faa41effcba /lib/public/files | |
parent | 745d8706b973ff0494af54f183acc0da361f0e83 (diff) | |
download | nextcloud-server-25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf.tar.gz nextcloud-server-25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf.zip |
Added searchByTags to view, storage and cache
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/folder.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/files/folder.php b/lib/public/files/folder.php index 7fec1c529a5..f54602d469d 100644 --- a/lib/public/files/folder.php +++ b/lib/public/files/folder.php @@ -117,6 +117,14 @@ interface Folder extends Node { public function searchByMime($mimetype); /** + * search for files by tag + * + * @param string|int $tag tag name or tag id + * @return \OCP\Files\Node[] + */ + public function searchByTag($tag); + + /** * get a file or folder inside the folder by it's internal id * * @param int $id |