public function execute() { $config = $this->getConfig(); $tipoId = new tipoIdTable($config); $id = filter_input(INPUT_GET, 'id'); $tipoId->setId($id); $tipoId->delete(); header('Location: ' . $config->getUrl() . 'index.php/tipoId/index'); }