Beispiel #1
0
 public function __construct($param = null)
 {
     if (is_array($param)) {
         parent::__construct($param);
         if (array_key_exists("ID", $param) && array_key_exists("CODE", $param) && array_key_exists("NAME", $param)) {
             $this->ID = $param["ID"];
             $this->CODE = $param["CODE"];
             $this->NAME = $param["NAME"];
         }
     } else {
         parent::__construct($param);
     }
 }
Beispiel #2
0
 public function __construct()
 {
     $this->isReservedName = config('database.default') === 'oracle';
     parent::__construct();
 }