private function montarQuestoes()
 {
     $tbPerguntaDAO = new tbPergunta();
     $alternativas = $tbPerguntaDAO->montarAlternativa($this->nrFormDocumento, $this->nrVersaoDocumento, $this->nrPergunta);
     $resp = '';
     $disable = '';
     if ($this->stSomenteLeitura == 'S') {
         $disable = 'disabled';
     }
     if (is_object($alternativas) and count($alternativas) > 0) {
         foreach ($alternativas as $alternativa) {
             $this->nrOpcao = $alternativa->nrOpcao;
             $this->operacao = $alternativa->stTipoObjetoPgr;
             $tbRespostaDAO = new tbResposta();
             $resposta = '';
             if ($this->idPreProjeto) {
                 $where = array('nrFormDocumento = ?' => $this->nrFormDocumento, 'nrVersaoDocumento = ?' => $this->nrVersaoDocumento, 'nrPergunta = ?' => $this->nrPergunta, 'idProjeto = ?' => $this->idPreProjeto, 'nrOpcao = ?' => $this->nrOpcao);
                 $result = $tbRespostaDAO->buscar($where);
                 if ($result->count() > 0) {
                     $resposta = $result;
                 }
             }
             switch ($this->operacao) {
                 case 'IT':
                     $resp .= $this->MontarInput($resposta, $disable);
                     break;
                 case 'TA':
                     $resp .= $this->MontarTextArea($resposta, $disable);
                     break;
                 case 'CK':
                     $resp .= $this->MontarCheckGroup($alternativa, $resposta, $disable);
                     break;
                 case 'IC':
                     $resp .= $this->MontarCheckGroupJust($alternativa, $resposta, $disable);
                     break;
                 case 'CB':
                     $resp .= $this->MontarComboBox($alternativa, $resposta);
                     break;
                 case 'RB':
                     $resp .= $this->MontarRadio($alternativa, $resposta, $disable);
                     break;
                 case 'IR':
                     $resp .= $this->MontarRadioJust($alternativa, $resposta, $disable);
                     break;
                 case 'DT':
                     $resp .= $this->MontarInputData($resposta, $disable);
                     break;
                 case 'NR':
                     $resp .= $this->MontarInputNumero($resposta, $disable);
                     break;
             }
         }
     }
     if ($this->operacao == 'CB') {
         $resp = $this->defaultQuestao("\n                        <select class=\"{$this->operacao}\" {$disable} name=\"resposta_{$this->nrPergunta}\">\n                            <option value=\"\" > Selecione </option>\n                            {$resp}\n                        </select>\n                    ");
     }
     if ($this->operacao == 'RB' or $this->operacao == 'IR') {
         $resp = $this->defaultQuestao($resp);
     }
     return $resp;
 }