Class CInlineFilter
CInlineFilter represents a filter defined as a controller method.
CInlineFilter executes the 'filterXYZ($action)' method defined in the
controller, where the name 'XYZ' can be retrieved from the CInlineFilter::$name
property.
- CComponent
- CFilter implements IFilter
- CInlineFilter
Package: system\web\filters
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/filters/CInlineFilter.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/filters/CInlineFilter.php
public static
|
#
create(
Creates an inline filter instance. The creation is based on a string describing the inline method name and action names that the filter shall or shall not apply to. |
public
|
#
filter(
Performs the filtering. This method calls the filter method defined in the controller class. |
init(),
postFilter(),
preFilter()
|
public
string
|
$name |
|
#
name of the filter. It stands for 'XYZ' in the filter method name 'filterXYZ'. |