From: Christian Weiske Date: Thu, 24 Mar 2011 18:11:06 +0000 (+0100) Subject: docblock for deleteAll X-Git-Tag: v0.98.0~118 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d761abb05e28ef4f345acef739e3b371b462f9fe;p=semanticscuttle.git docblock for deleteAll --- diff --git a/src/SemanticScuttle/Service/Bookmark2Tag.php b/src/SemanticScuttle/Service/Bookmark2Tag.php index 21ea0d5..beb4185 100644 --- a/src/SemanticScuttle/Service/Bookmark2Tag.php +++ b/src/SemanticScuttle/Service/Bookmark2Tag.php @@ -674,7 +674,15 @@ class SemanticScuttle_Service_Bookmark2Tag extends SemanticScuttle_DbService return $output; } - function deleteAll() { + + + /** + * Deletes all tags in bookmarks2tags + * + * @return void + */ + public function deleteAll() + { $query = 'TRUNCATE TABLE `'. $this->getTableName() .'`'; $this->db->sql_query($query); }