From da6ba4fa78da722acfdd4206c4ca21d91505732a Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 6 May 2009 11:10:11 -0400 Subject: [PATCH] rename this variable, it should be plural --- kronolith/lib/Tagger.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 + } /** -- 2.11.0