Commit 0442f4f5308f3169bc0fb1aecabfc274b248c33a
1 parent
e28df946
Exists in
master
Deletando arquivo subido por engano
Showing
1 changed file
with
0 additions
and
112 deletions
Show diff stats
ieducar/modules/TransporteEscolar/Views/ProcessoController.php
@@ -1,112 +0,0 @@ | @@ -1,112 +0,0 @@ | ||
1 | -<?php | ||
2 | -#error_reporting(E_ALL); | ||
3 | -#ini_set("display_errors", 1); | ||
4 | - | ||
5 | -/** | ||
6 | - * i-Educar - Sistema de gestão escolar | ||
7 | - * | ||
8 | - * Copyright (C) 2006 Prefeitura Municipal de Itajaí | ||
9 | - * <ctima@itajai.sc.gov.br> | ||
10 | - * | ||
11 | - * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo | ||
12 | - * sob os termos da Licença Pública Geral GNU conforme publicada pela Free | ||
13 | - * Software Foundation; tanto a versão 2 da Licença, como (a seu critério) | ||
14 | - * qualquer versão posterior. | ||
15 | - * | ||
16 | - * Este programa é distribuído na expectativa de que seja útil, porém, SEM | ||
17 | - * NENHUMA GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE OU | ||
18 | - * ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença Pública Geral | ||
19 | - * do GNU para mais detalhes. | ||
20 | - * | ||
21 | - * Você deve ter recebido uma cópia da Licença Pública Geral do GNU junto | ||
22 | - * com este programa; se não, escreva para a Free Software Foundation, Inc., no | ||
23 | - * endereço 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
24 | - * | ||
25 | - * @author Lucas Schmoeller da Silva <lucas@portabilis.com.br> | ||
26 | - * @category i-Educar | ||
27 | - * @license @@license@@ | ||
28 | - * @package TransporteEscolar | ||
29 | - * @subpackage Modules | ||
30 | - * @since Arquivo disponível desde a versão ? | ||
31 | - * @version $Id$ | ||
32 | - */ | ||
33 | -require_once 'lib/Portabilis/Controller/Page/EditController.php'; | ||
34 | -require_once 'Usuario/Model/FuncionarioDataMapper.php'; | ||
35 | -require_once 'Avaliacao/Views/DiarioApiController.php'; | ||
36 | -require_once 'include/pmieducar/clsPmieducarMatriculaTurma.inc.php'; | ||
37 | -require_once 'include/pmieducar/clsPmieducarEscola.inc.php'; | ||
38 | - | ||
39 | -class ProcessoController extends Portabilis_Controller_Page_EditController | ||
40 | -{ | ||
41 | - protected $_dataMapper = 'Usuario_Model_FuncionarioDataMapper'; | ||
42 | - protected $_titulo = 'i-Educar - Processo'; | ||
43 | - | ||
44 | - protected $_nivelAcessoOption = App_Model_NivelAcesso::SOMENTE_ESCOLA; | ||
45 | - protected $_processoAp = 21236; | ||
46 | - protected $_deleteOption = true; | ||
47 | - | ||
48 | - protected $_formMap = array( | ||
49 | - ); | ||
50 | - | ||
51 | - | ||
52 | - protected function _preConstruct() | ||
53 | - { | ||
54 | - } | ||
55 | - | ||
56 | - | ||
57 | - protected function _initNovo() { | ||
58 | - return false; | ||
59 | - } | ||
60 | - | ||
61 | - | ||
62 | - protected function _initEditar() { | ||
63 | - return false; | ||
64 | - } | ||
65 | - | ||
66 | - | ||
67 | - public function Gerar() | ||
68 | - { | ||
69 | - | ||
70 | - | ||
71 | - /* $objEscola = new clsPmieducarEscola(); | ||
72 | - | ||
73 | - $listaEscola = $objEscola->lista($int_cod_escola = NULL, $int_ref_usuario_cad = NULL, | ||
74 | - $int_ref_usuario_exc = NULL, $int_ref_cod_instituicao = NULL, | ||
75 | - $int_ref_cod_escola_localizacao = NULL, $int_ref_cod_escola_rede_ensino = NULL, | ||
76 | - $int_ref_idpes = NULL, $str_sigla = NULL, $date_data_cadastro = NULL, | ||
77 | - $date_data_exclusao = NULL, $int_ativo = 1, $str_nome = NULL, | ||
78 | - $escola_sem_avaliacao = NULL); | ||
79 | - | ||
80 | - foreach ($listaEscola as $regEscola) { | ||
81 | - */ | ||
82 | - $objMat = new clsPmieducarMatriculaTurma(); | ||
83 | - $objMat->setOrderBy(' ref_cod_turma ASC '); | ||
84 | - $lista = $objMat->lista($int_ref_cod_matricula = NULL, $int_ref_cod_turma = NULL, | ||
85 | - $int_ref_usuario_exc = NULL, $int_ref_usuario_cad = NULL, | ||
86 | - $date_data_cadastro_ini = NULL, $date_data_cadastro_fim = NULL, | ||
87 | - $date_data_exclusao_ini = NULL, $date_data_exclusao_fim = NULL, $int_ativo = 1, | ||
88 | - $int_ref_cod_serie = NULL, $int_ref_cod_curso = NULL, $int_ref_cod_escola = 13170, //$regEscola['cod_escola'], | ||
89 | - $int_ref_cod_instituicao = NULL, $int_ref_cod_aluno = NULL, $mes = NULL, | ||
90 | - $aprovado = 3, $mes_menor_que = NULL, $int_sequencial = NULL, | ||
91 | - $int_ano_matricula = 2013, $tem_avaliacao = NULL, $bool_get_nome_aluno = FALSE, | ||
92 | - $bool_aprovados_reprovados = NULL, $int_ultima_matricula = 1, | ||
93 | - $bool_matricula_ativo = TRUE, $bool_escola_andamento = TRUE, | ||
94 | - $mes_matricula_inicial = FALSE, $get_serie_mult = FALSE, | ||
95 | - $int_ref_cod_serie_mult = NULL, $int_semestre = NULL, | ||
96 | - $pegar_ano_em_andamento = TRUE, $parar=NULL); | ||
97 | - | ||
98 | - foreach ($lista as $reg) { | ||
99 | - $objDiario = null; | ||
100 | - $objDiario = new DiarioApiController(); | ||
101 | - $objDiario->_currentMatriculaId = $reg['ref_cod_matricula']; | ||
102 | - $objDiario->processaNotasNecessarias($reg['ref_cod_matricula']); | ||
103 | - } | ||
104 | - | ||
105 | - die('lol fez todas de uma escola *_*'); | ||
106 | - //} | ||
107 | - die('Notas de exame de todas as matrículas processadas.'); | ||
108 | - | ||
109 | - } | ||
110 | - | ||
111 | -} | ||
112 | -?> | ||
113 | \ No newline at end of file | 0 | \ No newline at end of file |