Beispiel #1
0
 /**
  * プロパティ$VALUESに各カラムのインスタンスを生成して格納
  * 
  * @return void
  */
 public function __construct(DBSpec $DBSpec)
 {
     parent::__construct($DBSpec);
     foreach ($this->COLUMNS as $name => $datatype) {
         $this->INSTANCES[$name] = new $datatype();
     }
 }
Beispiel #2
0
 function __construct($nim = null, $nama = null, $alamat = null, $ipk = null)
 {
     parent::__construct();
     if (null == $nim) {
         $this->getMhs($nim);
     } else {
         $this->nim = $nim;
         $this->nama = $nama;
         $this->alamat = $alamat;
         $this->ipk = $ipk;
     }
 }
Beispiel #3
0
 function __construct()
 {
     $this->config = parse_ini_file("config.ini", true);
     DBAccess::__construct();
 }
Beispiel #4
0
 function __construct()
 {
     parent::__construct();
 }