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

IWebServiceProvider

system.base
继承 interface IWebServiceProvider
可用自 1.0
源码 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).

公共方法

隐藏继承的方法

方法描述被定义在
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

方法详情

afterWebMethod() 方法
abstract public void afterWebMethod(CWebService $service)
$service CWebService the currently requested Web service.
源码: framework/base/interfaces.php#207 (显示)
public function afterWebMethod($service);

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

beforeWebMethod() 方法
abstract public boolean beforeWebMethod(CWebService $service)
$service CWebService the currently requested Web service.
{return} boolean whether the remote method should be executed.
源码: framework/base/interfaces.php#202 (显示)
public function beforeWebMethod($service);

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