Beispiel #1
0
 public function hasAttribute($name)
 {
     //return true;
     $attr = get_object_vars($this);
     if (isset($attr[$name])) {
         return true;
     } else {
         return parent::hasAttribute($name);
     }
 }