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