summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-09-19 11:27:13 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-09-23 23:39:36 +0200
commit1bbeb12e2e8acc47b94c23d6a17332fb45c2a97e (patch)
tree1c010a46b2e7f6e94bed4b79116544c76547e262 /lib/public
parentb63acdb12599c4ad062d7509c0079fad0b1ccfa2 (diff)
downloadnextcloud-server-1bbeb12e2e8acc47b94c23d6a17332fb45c2a97e.tar.gz
nextcloud-server-1bbeb12e2e8acc47b94c23d6a17332fb45c2a97e.zip
Updated method names and added a few more tests.
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/itags.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/itags.php b/lib/public/itags.php
index 047d4f5f40b..12643400548 100644
--- a/lib/public/itags.php
+++ b/lib/public/itags.php
@@ -65,7 +65,7 @@ interface ITags {
*
* @returns array
*/
- public function tags();
+ public function getTags();
/**
* Get the a list if items tagged with $tag.
@@ -75,7 +75,7 @@ interface ITags {
* @param string|integer $tag Tag id or name.
* @return array An array of object ids or false on error.
*/
- public function idsForTag($tag);
+ public function getIdsForTag($tag);
/**
* Checks whether a tag is already saved.
@@ -111,7 +111,7 @@ interface ITags {
* @param int|null $id int Optional object id to add to this|these tag(s)
* @return bool Returns false on error.
*/
- public function addMulti($names, $sync=false, $id = null);
+ public function addMultiple($names, $sync=false, $id = null);
/**
* Delete tag/object relations from the db