Class TbLabel
Bootstrap label widget.
- CComponent
- CBaseController
- CWidget
- TbLabel
Copyright: Copyright © Christoffer Niska 2011-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
See: http://twitter.github.com/bootstrap/components.html#labels
Located at crisu83/yii-bootstrap/widgets/TbLabel.php
Methods summary
public
|
|
public
|
Methods inherited from CWidget
__construct()
,
actions()
,
getController()
,
getId()
,
getOwner()
,
getViewFile()
,
getViewPath()
,
render()
,
setId()
Methods inherited from CBaseController
beginCache()
,
beginClip()
,
beginContent()
,
beginWidget()
,
createWidget()
,
endCache()
,
endClip()
,
endContent()
,
endWidget()
,
renderFile()
,
renderInternal()
,
widget()
Methods inherited from CComponent
__call()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Constants summary
string |
TYPE_SUCCESS
|
'success' |
|
string |
TYPE_WARNING
|
'warning' |
|
string |
TYPE_IMPORTANT
|
'important' |
|
string |
TYPE_INFO
|
'info' |
|
string |
TYPE_INVERSE
|
'inverse' |
Properties summary
public
string
|
$type |
#
the label type. Valid types are 'success', 'warning', 'important', 'info' and 'inverse'. |
public
string
|
$label |
#
the label text. |
public
boolean
|
$encodeLabel |
#
whether to encode the label. |
public
array
|
$htmlOptions |
#
the HTML attributes for the widget container. |
Properties inherited from CWidget
$actionPrefix
,
$skin
Magic properties inherited from CWidget
$controller
,
$id
,
$owner
,
$viewPath