Last active
August 9, 2019 14:41
-
-
Save ryonagana/7bd75ce847e15cc8fd87e4e5852589f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function adicionar_curso($processo_id){ | |
$instituicao_id = $_SESSION['access_adm']['instituicao']; | |
//$processo_id = $_SESSION['access_adm']['processo']; | |
$cursos = $this->processoModel->listarCursosCadastradosEmProcesso($processo_id); | |
$processos = $this->processoModel->listarProcessos(); | |
$this->form_validation->set_rules('processos', 'Processos', 'required|trim|is_numeric'); | |
if($this->form_validation->run() == FALSE){ | |
$this->ViewHeader("Candidatos - Listar Candidatos"); | |
$this->Menu(); | |
$this->_StartPage(); | |
$this->Validation(); | |
$this->load->view('backend/processo/form_adicionar_curso', array('cursos' => $cursos, 'processos' => $processos )); | |
$this->_ClosePage(); | |
$this->ViewFooter(); | |
}else { | |
$post = $this->input->post(NULL); | |
$this->processaCadastraCopia($processo_id, $post); | |
return; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment