public function execute() { $id = filter_input(INPUT_GET, 'id'); $config = $this->getConfig(); $turno = new turnoTable($config); $this->objturno = $turno->getById($id); $this->defineView('turno', 'verView', 'html'); }