Yii Framework v1.1.17 Class Reference

CDocumentSoapObjectWrapper

Package system.web.services
Inheritance class CDocumentSoapObjectWrapper
Source Code framework/web/services/CWebService.php
CDocumentSoapObjectWrapper is a wrapper class internally used when generatorConfig contains bindingStyle key set to document value.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
object object the service provider CDocumentSoapObjectWrapper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() PHP __call magic method. CDocumentSoapObjectWrapper
__construct() Constructor. CDocumentSoapObjectWrapper

Property Details

object property
public object $object;

the service provider

Method Details

__call() method
public mixed __call(string $name, array $arguments)
$name string method name
$arguments array method arguments
{return} mixed method return value
Source Code: framework/web/services/CWebService.php#344 (show)
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() method
public void __construct(object $object)
$object object the service provider
Source Code: framework/web/services/CWebService.php#332 (show)
public function __construct($object)
{
    
$this->object=$object;
}

Constructor.

© 2008-2013 by Yii Software LLC
All Rights Reserved.