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

IFilter

system.base
继承 interface IFilter
子类 CAccessControlFilter, CContentDecorator, CFilter, CFilterWidget, CHtmlPurifier, CInlineFilter, CMarkdown, COutputCache, COutputProcessor, CTextHighlighter
可用自 1.0
版本 $Id$
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.

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