Class CFilterChain
CFilterChain represents a list of filters being applied to an action.
CFilterChain executes the filter list by CFilterChain::run()
.
- CComponent
- CList implements IteratorAggregate, ArrayAccess, Countable
- CFilterChain
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/CFilterChain.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/CFilterChain.php
public
|
|
public static
|
#
create(
CFilterChain factory method. This method creates a CFilterChain instance. |
public
|
|
public
|
#
run( )
Executes the filter indexed at |
add(),
clear(),
contains(),
copyFrom(),
count(),
getCount(),
getIterator(),
getReadOnly(),
indexOf(),
itemAt(),
mergeWith(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
remove(),
removeAt(),
setReadOnly(),
toArray()
|
public
|
$controller |
|
#
the controller who executes the action. |
public
|
$action |
|
#
the action being filtered by this chain. |
public
integer
|
$filterIndex | 0 |
#
the index of the filter that is to be executed when calling |
$count,
$iterator,
$readOnly
|