Interface IWidgetFactory
IWidgetFactory is the interface that must be implemented by a widget factory class.
When calling CBaseController::createWidget()
, if a widget factory is
available, it will be used for creating the requested widget.
Direct known implementers
CWidgetFactory
Package: system\web
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/framework/base/interfaces.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/framework/base/interfaces.php
public
|
#
createWidget(
Creates a new widget based on the given class name and initial properties. |