/** * Remove all tags on an object * * @param integer $object_id Object ID * @return boolean True on success, false if errors */ public function remove_all_tags($object_id) { if ($object_id > 0) { $to = new \Components\Tags\Tables\Object($this->_db); if (!$to->removeAllTags($this->_tbl, $object_id)) { $this->setError($to->getError()); return false; } return true; } else { return false; } }