PHP Class TbBadge

See also:
Author: Christoffer Niska ([email protected])
Inheritance: extends CWidget
Afficher le fichier Open project: yinhe/yincart

Méthodes publiques

Свойство Type Description
$encodeLabel whether to encode the label.
$htmlOptions the HTML attributes for the widget container.
$label the badge text.
$type the badge type. See TYPE_* constants for list of allowed types.

Méthodes publiques

Méthode Description
init ( ) ### .init()
run ( ) ### .run()

Method Details

init() public méthode

At the start of widget we collect the attributes for badge tag.
public init ( )

run() public méthode

Upon completing the badge we write the span tag with collected attributes to document.
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 badge text.
public $label

$type public_oe property

the badge type. See TYPE_* constants for list of allowed types.
public $type