CSoapObjectWrapper
包 | system.web.services |
---|---|
继承 | class CSoapObjectWrapper |
源码 | framework/web/services/CWebService.php |
CSoapObjectWrapper is a wrapper class internally used when SoapServer::setObject() is not defined.
公共方法
方法 | 描述 | 被定义在 |
---|---|---|
__call() | PHP __call magic method. | CSoapObjectWrapper |
__construct() | Constructor. | CSoapObjectWrapper |
属性详情
object
属性
public object $object;
the service provider
方法详情
__call()
方法
public mixed __call(string $name, array $arguments)
| ||
$name | string | method name |
$arguments | array | method arguments |
{return} | mixed | method return value |
源码: framework/web/services/CWebService.php#309 (显示)
public function __call($name,$arguments)
{
return call_user_func_array(array($this->object,$name),$arguments);
}
PHP __call magic method. This method calls the service provider to execute the actual logic.
__construct()
方法
public void __construct(object $object)
| ||
$object | object | the service provider |
源码: framework/web/services/CWebService.php#297 (显示)
public function __construct($object)
{
$this->object=$object;
}
Constructor.