From: Michael J. Rubinsky Date: Wed, 6 May 2009 15:10:11 +0000 (-0400) Subject: rename this variable, it should be plural X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=da6ba4fa78da722acfdd4206c4ca21d91505732a;p=horde.git rename this variable, it should be plural --- diff --git a/kronolith/lib/Tagger.php b/kronolith/lib/Tagger.php index f3c83f854..802d3a5c0 100644 --- a/kronolith/lib/Tagger.php +++ b/kronolith/lib/Tagger.php @@ -114,17 +114,17 @@ class Kronolith_Tagger * the user that added the tag. * * @param string $localId The kronolith object identifier. - * @param mixed $tag Either a tag_id, tag_name or an array of + * @param mixed $tags Either a tag_id, tag_name or an array of * ids or names to remove. * @param string $content_type The type of object that $localId represents. * * @return void */ - public function untag($localId, $tag, $content_type = 'event') + public function untag($localId, $tags, $content_type = 'event') { self::$_tagger->removeTagFromObject( array('object' => $localId, 'type' => self::$_type_ids[$content_type]), - $tag); + $tags); } /** @@ -181,12 +181,13 @@ class Kronolith_Tagger } /** - * @TODO - * @param array $tags An array of tag ids. + * Search for resources are tagged with all of the requested tags. + * + * @param array $tags An array of tag_names. */ public function search($tags, $content_type = null) { - //TODO + } /**