/**
  * atualiza um registro da tabela
  *
  * @parametro VoluntarioMySql voluntario
  */
 public function update(Voluntario $Voluntario)
 {
     $sql = "UPDATE {$this->table} SET status = :status, fk_curso = :fk_curso, observacoes = :observacoes, manha = :manha, tarde = :tarde, noite = :noite, telefone1 = :telefone1, telefone2 = :telefone2, telefone3 = :telefone3, presenca = :presenca WHERE fk_usuario = :id";
     $id = $Voluntario->getFkUsuario();
     $status = $Voluntario->getStatus();
     $fkCurso = $Voluntario->getFkCurso();
     $observacoes = $Voluntario->getObservacoes();
     $manha = $Voluntario->getManha();
     $tarde = $Voluntario->getTarde();
     $noite = $Voluntario->getNoite();
     $telefone1 = $Voluntario->getTelefone1();
     $telefone2 = $Voluntario->getTelefone2();
     $telefone3 = $Voluntario->getTelefone3();
     $presenca = $Voluntario->getPresenca();
     $stmt = ConnectionFactory::prepare($sql);
     $stmt->bindParam(':id', $id);
     $stmt->bindParam(':status', $status);
     $stmt->bindParam(':fkCurso', $fkCurso);
     $stmt->bindParam(':observacoes', $observacoes);
     $stmt->bindParam(':manha', $manha);
     $stmt->bindParam(':tarde', $tarde);
     $stmt->bindParam(':noite', $noite);
     $stmt->bindParam(':telefone1', $telefone1);
     $stmt->bindParam(':telefone2', $telefone2);
     $stmt->bindParam(':telefone3', $telefone3);
     $stmt->bindParam(':presenca', $presenca);
     return $stmt->execute();
 }