public function execute() { $config = $this->getConfig(); $id = filter_input(INPUT_GET, 'id'); $update = new avanceAguaSurcoTable($config); $this->objAvance = $update->getById($id); $this->defineView('avanceAguaSurco', 'actualizar', 'html'); }