Class LeftWidget
Gives a utility function to derived classes which sets up this left widgets title bar.
- CComponent
- CBaseController
- CWidget
- CPortlet
- LeftWidget
public static
|
|
protected
|
#
initTitleBar( )
Sets the label in the widget title and determines whether this left widget should be hidden or shown on page load. |
public
|
|
public
|
|
public static
|
#
instantiateWidget( array $settings = array() )
Instantiates a left Widget with the specified settings |
renderContent(),
renderDecoration()
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
public
string
|
$widgetName |
|
#
The name of the widget. This should match the name used in the layout stored in the user's profile. |
public
string
|
$widgetLabel |
|
#
The label used in this widgets title bar |
protected
boolean
|
$isCollapsed | false |
|
public static
string
|
$idPrefix | 'x2widget_' |
#
The prefix used on the id of the container |
public static
string
|
$class | 'sidebar-left' |
#
The class of the container |
public static
string
|
$leftWidgetCollapsedClass | 'left-widget-collapsed' |
#
Class added to the porlet decoration to indicate that the widget is collapsed |
$contentCssClass,
$decorationCssClass,
$hideOnEmpty,
$htmlOptions,
$tagName,
$title,
$titleCssClass
|
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|