public function frmalterarunianalisepropostaAction() { $this->_helper->layout->disableLayout(); $tblProposta = new Proposta(); $rsProposta = $tblProposta->unidadeAnaliseProposta($_POST["nrProposta"])->current(); //xd($rsProposta->toArray()); if ($rsProposta) { $rsOrgaoSecretaria = $tblProposta->orgaoSecretaria($rsProposta->idTecnico); } else { echo "<font color='black' size='2'><b>Nenhum registro encontrado</b></font>"; die; } //xd($rsOrgaoSecretaria); $this->view->orgaoUsuarioLogado = $this->codOrgaoSuperior; $this->view->proposta = $rsProposta; $this->view->orgaoSecretaria = $rsOrgaoSecretaria; }