PHP Class WPDKUIProgressBar

Since: 1.7.1
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Afficher le fichier Open project: wpxtreme/wpdk

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

html() public méthode

Return the HTML markup of single Progress bar
public html ( ) : string
Résultat string

Property Details

$animated public_oe property

If this property is TRUE also $stripe is TRUE.
public bool $animated
Résultat boolean

$displayPercentage public_oe property

Display the percentage inner progress bar.
public bool $displayPercentage
Résultat boolean

$id public_oe property

Progress (container) id.
public string $id
Résultat string

$label public_oe property

The label used instead the percentage.
public string $label
Résultat string

$percentage public_oe property

Percentage
public int $percentage
Résultat integer

$striped public_oe property

Display a striped progress bar.
public bool $striped
Résultat boolean

$type public_oe property

Type (style) of bar
public string $type
Résultat string