프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$bars | array | List of WPDKUIProgressBar instances. | |
$id | string | Progress (container) id. | |
$width | string | Width (px or %) of progress container. |
메소드 | 설명 | |
---|---|---|
__construct ( string $id, integer | array | WPDKUIProgressBar $percentage_or_bars, string $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress | Create an instance of WPDKUIProgress class. | |
html ( ) : string | Return the HTML markup of Progress | |
init ( string $id, integer | array | WPDKUIProgressBar $percentage_or_bars, string $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress | Return an instance of WPDKUIProgress class |
public __construct ( string $id, integer | array | WPDKUIProgressBar $percentage_or_bars, string $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress | ||
$id | string | ID attribute for main container. |
$percentage_or_bars | integer | array | WPDKUIProgressBar | Optional. Numeric percentage, array of WPDKUIProgressBar or an instance of WPDKUIProgressBar. |
$progress_bar_type | string | Optional. Type of progress. This params is ignored if `$percentage_or_bars` is ans array of WPDKUIProgressBar |
리턴 | WPDKUIProgress |
public static init ( string $id, integer | array | WPDKUIProgressBar $percentage_or_bars, string $progress_bar_type = WPDKUIProgressBarType::BASIC ) : WPDKUIProgress | ||
$id | string | ID attribute for main container. |
$percentage_or_bars | integer | array | WPDKUIProgressBar | Optional. Numeric percentage, array of WPDKUIProgressBar or an instance of WPDKUIProgressBar. |
$progress_bar_type | string | Optional. Type of progress. This params is ignored if `$percentage_or_bars` is ans array of WPDKUIProgressBar |
리턴 | WPDKUIProgress |