public function execute() { $config = $this->getConfig(); $formTipoId = filter_input_array(INPUT_POST)['tipoId']; $tipoId = new tipoIdTable($config); $tipoId->setId($formTipoId['id']); $tipoId->setDescripcion($formTipoId['descripcion']); $this->objTipoId = $tipoId->update(); header('Location: ' . $config->getUrl() . 'index.php/tipoId/index'); exit; }