public function __set($name, $value) { if (isset($this->_obj) && property_exists($this->_obj, $name) === true) { return $this->_obj->{$name} = $value; } else { return parent::__set($name, $value); } }