system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.cubrid system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.gii system.i18n system.i18n.gettext system.logging system.test system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.form system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers zii.behaviors zii.widgets zii.widgets.grid zii.widgets.jui

CDocumentSoapObjectWrapper

system.web.services
继承 class CDocumentSoapObjectWrapper
源码 framework/web/services/CWebService.php
CDocumentSoapObjectWrapper is a wrapper class internally used when generatorConfig contains bindingStyle key set to document value.

公共属性

隐藏继承的属性

属性类型描述被定义在
object object the service provider CDocumentSoapObjectWrapper

公共方法

隐藏继承的方法

方法描述被定义在
__call() PHP __call magic method. CDocumentSoapObjectWrapper
__construct() Constructor. CDocumentSoapObjectWrapper

属性详情

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#345 (显示)
public function __call($name,$arguments)
{
    if (
is_array($arguments) && isset($arguments[0]))
    {
        
$result call_user_func_array(array($this->object$name), (array)$arguments[0]);
    }
    else
    {
        
$result call_user_func_array(array($this->object$name), $arguments);
    }
    return 
$result === null $result : array($name 'Result' => $result); 
}

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#333 (显示)
public function __construct($object)
{
    
$this->object=$object;
}

Constructor.