system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.i18n system.i18n.gettext system.logging system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers

IWebServiceProvider

system.base
继承 interface IWebServiceProvider
可用自 1.0
版本 $Id$
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.

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.

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