isStringPainted Manual
determines whether the progress bar string is painted or not
Synopsis
boolean isStringPainted()
Description
The isStringPainted() method is used to know whether
the progress bar string is painted or not.
If returns value is FALSE, the progress bar displays the value returned by
HTML_Progress::getPercentComplete() method formatted as a percent such as 33%.
Example
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
$test = "\$res = \$bar->isStringPainted() ? 'yes':'no';";
eval($test);
print ('is custom string painted ? '. $res);
echo '<br/>';
$bar->setStringPainted(true);
eval($test);
print ('decide to paint custom string : '. $res);
?>
See Also
setStringPainted Manual