0 follower

CSoapObjectWrapper

Package system.web.services
Inheritance class CSoapObjectWrapper
Since 1.0.5
Version $Id$
Source Code framework/web/services/CWebService.php
CSoapObjectWrapper is a wrapper class internally used when SoapServer::setObject() is not defined.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
object object the service provider CSoapObjectWrapper

Public Methods

Hide inherited methods

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

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#275 (show)
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() method
public void __construct(object $object)
$object object the service provider
Source Code: framework/web/services/CWebService.php#263 (show)
public function __construct($object)
{
    
$this->object=$object;
}

Constructor.