Commit 40602eb1681c22fa0ad50baa19b45017cb6bb92c

Authored by Eriksen Costa Paixão
1 parent 362ea36c
Exists in master

Removido método não utilizado

ieducar/intranet/educar_relatorio_quadro_horario_proc.php
@@ -125,7 +125,7 @@ class indice extends clsCadastro @@ -125,7 +125,7 @@ class indice extends clsCadastro
125 $corTexto = '#000000'; 125 $corTexto = '#000000';
126 126
127 $obj_curso = new clsPmieducarCurso(); 127 $obj_curso = new clsPmieducarCurso();
128 - $obj_curso->setOrderby("nm_curso"); 128 + $obj_curso->setOrderby('nm_curso');
129 $lst_curso = $obj_curso->lista($this->ref_cod_curso, NULL, NULL, NULL, NULL, 129 $lst_curso = $obj_curso->lista($this->ref_cod_curso, NULL, NULL, NULL, NULL,
130 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 130 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
131 NULL, NULL, NULL, NULL, NULL, 1, NULL, $this->ref_cod_instituicao); 131 NULL, NULL, NULL, NULL, NULL, 1, NULL, $this->ref_cod_instituicao);
@@ -133,7 +133,7 @@ class indice extends clsCadastro @@ -133,7 +133,7 @@ class indice extends clsCadastro
133 if ($lst_curso) { 133 if ($lst_curso) {
134 foreach ($lst_curso as $curso) { 134 foreach ($lst_curso as $curso) {
135 $obj_serie = new clsPmieducarSerie(); 135 $obj_serie = new clsPmieducarSerie();
136 - $obj_serie->setOrderby("nm_serie"); 136 + $obj_serie->setOrderby('nm_serie');
137 $lst_serie = $obj_serie->lista($this->ref_cod_serie, NULL, NULL, 137 $lst_serie = $obj_serie->lista($this->ref_cod_serie, NULL, NULL,
138 $curso['cod_curso'], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 138 $curso['cod_curso'], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
139 1, $this->ref_cod_instituicao, NULL, NULL, NULL, $this->ref_cod_escola); 139 1, $this->ref_cod_instituicao, NULL, NULL, NULL, $this->ref_cod_escola);
@@ -212,7 +212,6 @@ class indice extends clsCadastro @@ -212,7 +212,6 @@ class indice extends clsCadastro
212 212
213 $det_servidor['nome'] = array_shift(explode(' ', $det_servidor['nome'])); 213 $det_servidor['nome'] = array_shift(explode(' ', $det_servidor['nome']));
214 214
215 - //$texto = substr($registro['hora_inicial'], 0, 5 )." - ".substr( $registro["hora_final"], 0, 5 )." \n {$det_disciplina["abreviatura"]} \n {$det_servidor["nome"]}"  
216 $texto = sprintf("%s - %s\n%s\n%s", 215 $texto = sprintf("%s - %s\n%s\n%s",
217 substr($registro['hora_inicial'], 0, 5), 216 substr($registro['hora_inicial'], 0, 5),
218 substr($registro["hora_final"], 0, 5), 217 substr($registro["hora_final"], 0, 5),
@@ -221,8 +220,8 @@ class indice extends clsCadastro @@ -221,8 +220,8 @@ class indice extends clsCadastro
221 ); 220 );
222 221
223 $this->pdf->escreve_relativo( 222 $this->pdf->escreve_relativo(
224 - $texto,//substr($registro['hora_inicial'], 0, 5 )." - ".substr( $registro["hora_final"], 0, 5 )." \n {$det_disciplina["abreviatura"]} \n {$det_servidor["nome"]}",  
225 - $inicio_x, $this->page_y + 12, 75, 50, $fonte, 10, $corTexto, 'center'); 223 + $texto, $inicio_x, $this->page_y + 12, 75, 50, $fonte,
  224 + 10, $corTexto, 'center');
226 225
227 $this->page_y += 50; 226 $this->page_y += 50;
228 } 227 }
@@ -324,24 +323,6 @@ class indice extends clsCadastro @@ -324,24 +323,6 @@ class indice extends clsCadastro
324 $this->page_y += 80; 323 $this->page_y += 80;
325 } 324 }
326 325
327 - function rodape()  
328 - {  
329 - $corTexto = '#000000';  
330 - $fonte = 'arial';  
331 - $dataAtual = date('d/m/Y');  
332 - $this->pdf->escreve_relativo('Data: ' . $dataAtual, 36, $this->page_y + 2,  
333 - 100, 50, $fonte, 7, $corTexto, 'left');  
334 -  
335 - $this->pdf->escreve_relativo('Estou ciente do aproveitamento de ' .  
336 - str2upper($this->nm_aluno) . ', matrícula nº: ' . $this->ref_cod_matricula, 68,  
337 - $this->page_y +12, 600, 50, $fonte, 9, $corTexto, 'left');  
338 -  
339 - $this->pdf->escreve_relativo('Assinatura do Responsável(a)', 677,  
340 - $this->page_y + 18, 200, 50, $fonte, 7, $corTexto, 'left');  
341 -  
342 - $this->pdf->linha_relativa(660, $this->page_y + 18, 130, 0, 0.4);  
343 - }  
344 -  
345 function Editar() 326 function Editar()
346 { 327 {
347 return FALSE; 328 return FALSE;