예제 #1
0
파일: pagamento.php 프로젝트: vinik/hplt
 function get_aluno()
 {
     if (NULL == $this->aluno) {
         if (NULL == $this->id_aluno) {
             return NULL;
         }
         $aluno = new Aluno();
         $aluno->set_id($this->get_id_aluno());
         $aluno->retrieve();
         $this->aluno = $aluno;
     }
     return $this->aluno;
 }
예제 #2
0
파일: evento.php 프로젝트: vinik/hplt
 function get_nome_evento()
 {
     $aluno = new Aluno();
     $aluno->set_id($this->get_id_aluno1());
     $aluno->retrieve();
     $nome_evento = $aluno->get_nome();
     if ('s' == $this->get_iddupla()) {
         $aluno2 = new Aluno();
         $aluno2->set_id($this->get_id_aluno2());
         $aluno2->retrieve();
         $nome_evento .= ' & ' . $aluno2->get_nome();
     }
     return $nome_evento;
 }