PHP Class TbLabel

See also: http://twitter.github.com/bootstrap/components.html#labels
Inheritance: extends CWidget
Mostra file Open project: yinhe/yincart

Public Properties

Property Type Description
$encodeLabel whether to encode the label.
$htmlOptions the HTML attributes for the widget container.
$label the label text.
$type the label type. Valid types are 'success', 'warning', 'important', 'info' and 'inverse'.

Public Methods

Method Description
init ( ) ### .init()
run ( ) ### .run()

Method Details

init() public method

Initializes the widget.
public init ( )

run() public method

Runs the widget.
public run ( )

Property Details

$encodeLabel public_oe property

whether to encode the label.
public $encodeLabel

$htmlOptions public_oe property

the HTML attributes for the widget container.
public $htmlOptions

$label public_oe property

the label text.
public $label

$type public_oe property

the label type. Valid types are 'success', 'warning', 'important', 'info' and 'inverse'.
public $type