public function delete() { if (!$this->CheckParams($this->_templateobject->idField)) { sendBack(); } $flash = Flash::Instance(); parent::delete($this->modeltype); sendTo($this->name, 'index', $this->_modules); }