"Fossies" - the Fresh Open Source Software Archive

Member "yii-docs-1.1.24.a5ab20/api/IWebServiceProvider.html" (7 Jun 2021, 6176 Bytes) of package /linux/www/yii-docs-1.1.24.a5ab20.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

Yii Framework v1.1.24 Class Reference

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).

Public Methods

Hide inherited methods

MethodDescriptionDefined 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.
Source Code: framework/base/interfaces.php#207 (show)
public function afterWebMethod($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.
Source Code: framework/base/interfaces.php#202 (show)
public function beforeWebMethod($service);

This method is invoked before the requested remote method is invoked.

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