PHP 클래스 TbProgress

또한 보기:
부터: 0.9.10
상속: extends TbWidget
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$animated indicates whether the bar is animated.
$content div content
$htmlOptions the HTML attributes for the widget container.
$percent the amount of progress in percent.
$stacked array set to an array of progress bar values to display stacked progress bars
 'stacked'=>array(
     array('type' => 'info|success|warning|danger', 'percent'=>'30', 'htmlOptions'=>array('class'=>'custom')),
     array('type' => 'info|success|warning|danger', 'percent'=>'30'),
 )
$striped indicates whether the bar is striped.
$type the bar type. Valid values are 'info', 'success', and 'danger'.

공개 메소드들

메소드 설명
init ( ) ### .init()
run ( ) ### .run()

메소드 상세

init() 공개 메소드

Initializes the widget.
public init ( )

run() 공개 메소드

Runs the widget.
부터: 9/21/12 8:13 PM antonio ramirez Updated to use stacked progress bars
public run ( )

프로퍼티 상세

$animated 공개적으로 프로퍼티

indicates whether the bar is animated.
public $animated

$content 공개적으로 프로퍼티

div content
public $content

$htmlOptions 공개적으로 프로퍼티

the HTML attributes for the widget container.
public $htmlOptions

$percent 공개적으로 프로퍼티

the amount of progress in percent.
public $percent

$stacked 공개적으로 프로퍼티

set to an array of progress bar values to display stacked progress bars
 'stacked'=>array(
     array('type' => 'info|success|warning|danger', 'percent'=>'30', 'htmlOptions'=>array('class'=>'custom')),
     array('type' => 'info|success|warning|danger', 'percent'=>'30'),
 )
부터: 9/21/12 8:14 PM antonio ramirez
public array $stacked
리턴 array

$striped 공개적으로 프로퍼티

indicates whether the bar is striped.
public $striped

$type 공개적으로 프로퍼티

the bar type. Valid values are 'info', 'success', and 'danger'.
public $type