IWebServiceProvider
Package | system.base |
---|---|
Inheritance | interface IWebServiceProvider |
Since | 1.0 |
Source Code | framework/base/interfaces.php |
IWebServiceProvider interface may be implemented by Web service provider classes.
If this interface is implemented, the provider instance will be able to intercept the remote method invocation (e.g. for logging or authentication purpose).
If this interface is implemented, the provider instance will be able to intercept the remote method invocation (e.g. for logging or authentication purpose).
Public Methods
Method | Description | Defined By |
---|---|---|
afterWebMethod() | This method is invoked after the requested remote method is invoked. | IWebServiceProvider |
beforeWebMethod() | This method is invoked before the requested remote method is invoked. | IWebServiceProvider |
Method Details
afterWebMethod() method
abstract public void afterWebMethod(CWebService $service) | ||
$service | CWebService | the currently requested Web service. |
This method is invoked after the requested remote method is invoked.
beforeWebMethod() method
abstract public boolean beforeWebMethod(CWebService $service) | ||
$service | CWebService | the currently requested Web service. |
{return} | boolean | whether the remote method should be executed. |
This method is invoked before the requested remote method is invoked.
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc/api/1.1/IWebServiceProvider