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

IFilter

system.base
继承 interface IFilter
子类 CAccessControlFilter, CContentDecorator, CFilter, CFilterWidget, CHtmlPurifier, CHttpCacheFilter, CInlineFilter, CMarkdown, COutputCache, COutputProcessor, CTextHighlighter
可用自 1.0
源码 framework/base/interfaces.php
IFilter is the interface that must be implemented by action filters.

公共方法

隐藏继承的方法

方法描述被定义在
filter() Performs the filtering. IFilter

方法详情

filter() 方法
abstract public void filter(CFilterChain $filterChain)
$filterChain CFilterChain the filter chain that the filter is on.
源码: framework/base/interfaces.php#163 (显示)
public function filter($filterChain);

Performs the filtering. This method should be implemented to perform actual filtering. If the filter wants to continue the action execution, it should call $filterChain->run().