Class CClipWidget
CClipWidget records its content and makes it available elsewhere.
Content rendered between its CClipWidget::init()
and CClipWidget::run()
calls are saved
as a clip in the controller. The clip is named after the widget ID.
See CBaseController::beginClip()
and CBaseController::endClip()
for a shortcut usage of CClipWidget.
- CComponent
- CBaseController
- CWidget
- CClipWidget
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/CClipWidget.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/CClipWidget.php
public
|
|
public
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
boolean
|
$renderClip | false |
#
whether to render the clip content in place. Defaults to false, meaning the captured clip will not be displayed. |
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|