PHP 클래스 WPDKUIProgressBar

부터: 1.7.1
저자: =undo= ([email protected])
상속: extends WPDKHTMLTag
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 프로퍼티들

프로퍼티 타입 설명
$animated boolean If this property is TRUE also $stripe is TRUE.
$displayPercentage boolean Display the percentage inner progress bar.
$id string Progress (container) id.
$label string The label used instead the percentage.
$percentage integer Percentage
$striped boolean Display a striped progress bar.
$type string Type (style) of bar

공개 메소드들

메소드 설명
__construct ( string $id, $percentage, $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress Create an instance of WPDKUIProgress class
html ( ) : string Return the HTML markup of single Progress bar

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKUIProgress class
public __construct ( string $id, $percentage, $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress
$id string ID attribute
리턴 WPDKUIProgress

html() 공개 메소드

Return the HTML markup of single Progress bar
public html ( ) : string
리턴 string

프로퍼티 상세

$animated 공개적으로 프로퍼티

If this property is TRUE also $stripe is TRUE.
public bool $animated
리턴 boolean

$displayPercentage 공개적으로 프로퍼티

Display the percentage inner progress bar.
public bool $displayPercentage
리턴 boolean

$id 공개적으로 프로퍼티

Progress (container) id.
public string $id
리턴 string

$label 공개적으로 프로퍼티

The label used instead the percentage.
public string $label
리턴 string

$percentage 공개적으로 프로퍼티

Percentage
public int $percentage
리턴 integer

$striped 공개적으로 프로퍼티

Display a striped progress bar.
public bool $striped
리턴 boolean

$type 공개적으로 프로퍼티

Type (style) of bar
public string $type
리턴 string