<?php
class AppLaporanRegistrasMhsBaru extends Database {

   protected $mSqlFile= 'module/laporan_registrasi_mhs_baru/business/applaporanregistrasimhsbaru.sql.php';

   function __construct($connectionNumber=0) {
      parent::__construct($connectionNumber);
      
   }
   
   function GetRekapMhsBaru($periode,$jalur,$tanggal,$jenjang){      
      $result =$this->Open($this->mSqlQueries['get_rekap_mhs_baru'], array('%'.$tanggal.'%',
                                                                           '%'.$periode.'%',
                                                                           '%'.$jalur.'%',
                                                                           '%'.$tanggal.'%',
                                                                           '%'.$periode.'%',
                                                                           '%'.$jalur.'%',
                                                                           '%'.$jenjang.'%'));
      #print($this->GetLastError());
      return $result;
   }
   

   function GetJenjangAkademik(){
      $result=$this->Open($this->mSqlQueries['get_jenjang_akademik'],array());
      return $result;
   }
   
   
   function GetJalurMasuk(){
      $result=$this->Open($this->mSqlQueries['get_jalur_masuk'],array());
      return $result;
   }
   
   function GetPeriodeAktif(){
      $result=$this->Open($this->mSqlQueries['get_periode_aktif'],array());
      return $result;
   }
   
   function GetDataPeriode(){
      $result=$this->Open($this->mSqlQueries['get_data_periode'], array());
      return $result;
   }
   
   function GetTanggalRegistrasiByPeriode($id){
      $result=$this->Open($this->mSqlQueries['get_tanggal_registrasi_by_periode'],array('%'.$id.'%'));
      return $result;
   }
//===DO===

}
?>
