PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide



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

See

see HTML_Progress2::setLabelAttributes

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.2.0 : January 2, 2007