docblock for deleteAll

This commit is contained in:
Christian Weiske 2011-03-24 19:11:06 +01:00
parent e1370d949c
commit d761abb05e

View file

@ -674,7 +674,15 @@ class SemanticScuttle_Service_Bookmark2Tag extends SemanticScuttle_DbService
return $output; return $output;
} }
function deleteAll() {
/**
* Deletes all tags in bookmarks2tags
*
* @return void
*/
public function deleteAll()
{
$query = 'TRUNCATE TABLE `'. $this->getTableName() .'`'; $query = 'TRUNCATE TABLE `'. $this->getTableName() .'`';
$this->db->sql_query($query); $this->db->sql_query($query);
} }