/** * Remove all Items from the set. * @access public * @return void */ function removeAllItems() { parent::removeAllItems(); // Remove the item from the database $query = new DeleteQuery(); $query->setTable("sets"); $query->addWhere("id='" . addslashes($this->_setId->getIdString()) . "'"); $dbHandler = Services::getService("DatabaseManager"); $dbHandler->query($query, $this->_dbIndex); }