/controller/instituicao/formulario.php

https://bitbucket.org/denissilva/cgpdi_admin · PHP · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · 25fdc099460ca83705b2db11c98e3f7c MD5 · raw file

  1. <?php
  2. require_once ('../../dao/InstituicaoDao.php');
  3. $dao = new InstituicaoDao();
  4. try {
  5. $dao->getInstituicao($_GET['id']);
  6. } catch (Exception $ex) {
  7. return $ex->getMessage();
  8. }