PHP Class TbLabel

See also: http://twitter.github.com/bootstrap/components.html#labels
Inheritance: extends CWidget
Show 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 property

whether to encode the label.
public $encodeLabel

$htmlOptions public property

the HTML attributes for the widget container.
public $htmlOptions

$label public property

the label text.
public $label

$type public property

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