function __set($var, $value) { $func = 'Server_' . $var . '_set'; if (function_exists($func)) { return call_user_func($func, $this->_cPtr, $value); } if ($var === 'thisown') { return swig_otapi_alter_newobject($this->_cPtr, $value); } ServerInfo::__set($var, $value); }