PHP Класс TbBadge

См. также:
Автор: Christoffer Niska ([email protected])
Наследование: extends CWidget
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
init ( ) ### .init()
run ( ) ### .run()

Описание методов

init() публичный Метод

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

run() публичный Метод

Upon completing the badge we write the span tag with collected attributes to document.
public run ( )

Описание свойств

$encodeLabel публичное свойство

whether to encode the label.
public $encodeLabel

$htmlOptions публичное свойство

the HTML attributes for the widget container.
public $htmlOptions

$label публичное свойство

the badge text.
public $label

$type публичное свойство

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