diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 19:11:06 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 19:11:06 +0100 |
commit | d761abb05e28ef4f345acef739e3b371b462f9fe (patch) | |
tree | 364b51a940e710a5e0c55a8cd6d5cdaa9c79d18f /src/SemanticScuttle/Service | |
parent | e1370d949c48b98261f63bc2048b09c1c8648244 (diff) | |
download | semanticscuttle-d761abb05e28ef4f345acef739e3b371b462f9fe.tar.gz semanticscuttle-d761abb05e28ef4f345acef739e3b371b462f9fe.tar.bz2 |
docblock for deleteAll
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark2Tag.php | 10 |
1 files changed, 9 insertions, 1 deletions
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); } |