예제 #1
0
 function __construct($par = null, $unset_ID = false)
 {
     if ($par && is_merged($par)) {
         set_ref_merge($this, $par);
         if ($unset_ID) {
             unset($this->ID);
         }
     }
 }
예제 #2
0
 function __construct($array)
 {
     if (is_merged($array)) {
         set_ref_merge($this, $array);
     }
 }