public function execute() { $formDetalleEjecucion = filter_input_array(INPUT_POST)['detalleEjecucion']; $detalleEjecucion = new detalleEjecucionTable(); $detalleEjecucion->setId($formDetalleEjecucion['deId']); $detalleEjecucion->setOrdenEjecucionId($formDetalleEjecucion['oreId']); $detalleEjecucion->setTerceroId($formDetalleEjecucion['terId']); $detalleEjecucion->setServicioMaquinaId($formDetalleEjecucion['serId']); $detalleEjecucion->setProductoId($formDetalleEjecucion['proId']); $detalleEjecucion->setCantidad($formDetalleEjecucion['cantidad']); $detalleEjecucion->setPrecio($formDetalleEjecucion['precio']); $detalleEjecucion->setUpdatedAt('now()'); $this->objDetalleEjecucion = $detalleEjecucion->update(); header('Location: ' . $fsConfig->getUrl() . 'index.php/detalleEjecucion/index'); }