Class CFilterWidget
CFilterWidget is the base class for widgets that can also be used as filters.
Derived classes may need to override the following methods:CWidget::init()
: called when this is object is used as a widget and needs initialization.CWidget::run()
: called when this is object is used as a widget.CFilterWidget::filter()
: the filtering method called when this object is used as an action filter.
CFilterWidget provides all properties and methods of CWidget
and
CFilter
.
- CComponent
- CBaseController
- CWidget
- CFilterWidget implements IFilter
Package: system\web\widgets
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/widgets/CFilterWidget.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/widgets/CFilterWidget.php
public
|
|
public
boolean
|
|
public
|
#
filter(
Performs the filtering. The default implementation simply calls |
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
init(),
render(),
run(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
boolean
|
$stopAction | false |
#
whether to stop the action execution when this widget is used as a filter.
This property should be changed only in |
$actionPrefix,
$skin
|
public
boolean
|
$isFilter |
#
Whether this widget is used as a filter. |
$controller,
$id,
$owner,
$viewPath
|