Skip to content

Instantly share code, notes, and snippets.

@ryonagana ryonagana/teste.php
Last active Aug 9, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.