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/private/files/view.php | |
parent | 745d8706b973ff0494af54f183acc0da361f0e83 (diff) | |
download | nextcloud-server-25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf.tar.gz nextcloud-server-25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf.zip |
Added searchByTags to view, storage and cache
Diffstat (limited to 'lib/private/files/view.php')
-rw-r--r-- | lib/private/files/view.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 4b3d167f8e9..7090e03d40c 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1135,6 +1135,16 @@ class View { } /** + * search for files by tag + * + * @param string|int $tag name or tag id + * @return FileInfo[] + */ + public function searchByTag($tag) { + return $this->searchCommon($tag, 'searchByTag'); + } + + /** * @param string $query * @param string $method * @return FileInfo[] |