PHP 클래스 TbBadge

또한 보기:
저자: Christoffer Niska ([email protected])
상속: extends CWidget
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$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