19 $this->
class = $className;
27 $this->obj =
new $this->
class();
30 $this->obj =
new $this->
class($arg[0]);
33 $this->obj =
new $this->
class($arg[1]);
36 $this->obj =
new $this->
class($arg[2]);
39 throw new RuntimeException(
'Please expand this function yourself :)');
48 public function __call($funcName, $args){
49 return call_user_func_array(array($this->obj, $funcName), $args);
53 return $this->obj->{$name};
56 public function __set($key, $val){
57 return $this->obj->{$key} = $val;
61 return isset($this->obj->{$key});
65 return $this->obj->{$key};