예제 #1
0
 public function __get($key)
 {
     if ($key == 'type' || $key == 'name' || $key == 'label') {
         return $this->data[$key];
     }
     return parent::__get($key);
 }