public function listarprojetosAction()
 {
     /***************************************************************************** */
     $tblVinculo = new TbVinculo();
     $dadosCombo = array();
     $cpfCnpj = '';
     $rsVinculo = $tblVinculo->buscarProponenteResponsavel($this->idResponsavel);
     $agente = array();
     $i = 1;
     foreach ($rsVinculo as $rs) {
         $dadosCombo[$i]['idAgenteProponente'] = $rs->idAgente;
         $dadosCombo[$i]['CPF'] = $rs->CNPJCPF;
         $dadosCombo[$i]['Nome'] = $rs->NomeProponente;
         $i++;
     }
     $this->view->buscaProponente = $dadosCombo;
     $this->view->idResponsavel = $this->idResponsavel;
     $this->view->idUsuario = $this->idUsuario;
     /*****************************************************************************/
     if (!isset($_POST['idProponente'])) {
         $this->view->listarprojetos = 0;
     } else {
         try {
             $post = Zend_Registry::get('post');
             $idProponente = !empty($post->idProponente) ? $post->idProponente : '';
             // deleta a máscara
             $mecanismo = $_POST['mecanismo'];
             $idResponsavel = $this->idResponsavel;
             $a = new Projetos();
             $ProjetoVinculados = $a->listarProjetosConsulta($idResponsavel, $idProponente, $mecanismo);
             if (count($ProjetoVinculados) > 0) {
                 $this->view->listarprojetos = $ProjetoVinculados;
                 $this->view->mecanismo = $mecanismo;
                 $this->view->agenteId = $idProponente;
             } else {
                 parent::message("Nenhum projeto encontrado!", "listarprojetos/listarprojetos", "ALERT");
             }
         } catch (Exception $e) {
             parent::message($e->getMessage(), "listarprojetos/listarprojetos", "ERROR");
         }
     }
 }