/** * プロパティ$VALUESに各カラムのインスタンスを生成して格納 * * @return void */ public function __construct(DBSpec $DBSpec) { parent::__construct($DBSpec); foreach ($this->COLUMNS as $name => $datatype) { $this->INSTANCES[$name] = new $datatype(); } }
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; } }
function __construct() { $this->config = parse_ini_file("config.ini", true); DBAccess::__construct(); }
function __construct() { parent::__construct(); }