Свойство | Type | Description | |
---|---|---|---|
$bars | array | List of WPDKUIProgressBar instances. | |
$id | string | Progress (container) id. | |
$width | string | Width (px or %) of progress container. |
Méthode | Description | |
---|---|---|
__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 |
Résultat | 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 |
Résultat | WPDKUIProgress |
public string $width | ||
Résultat | string |