Name
HTML_Progress2::getLabelAttributes
— Returns attributes values of an existing label
Synopsis
require_once 'HTML/Progress2.php';
mixed HTML_Progress2::getLabelAttributes(
|
$name,
|
|
|
$asString = FALSE) ;
|
|
string
|
$name;
|
bool
|
$asString = FALSE;
|
Description
Get all attributes of an existing label identified by $name argument.
This identifier must be the same as the one given to addLabel()
method. Return attributes values in a associative array with
key-value couple (by default). Get the attributes as string is also
possible.
Parameter
-
string
$name
-
progress label id.
-
boolean
$asString
-
(optional) whether to return the attributes as string
Throws
throws
HTML_PROGRESS2_ERROR_INVALID_INPUT
Note
since 2.0.0
This function can not be called statically.