setIdent Manual
set the progress bar identification string
Synopsis
void setIdent( $ident )
Attributes
Name |
Type |
Default |
ident |
null or string |
null |
Description
The setIdent() method is used to set the internal
progress bar string identification. It's very useful when you manage more than
one progress bar at same time.
When you give a NULL $ident parameter, the system computed value
is a string with 'p_' prefix followed by 6 random characters.
Example
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
$bar->setIdent('PB1');
print('progress bar string identification = ' . $bar->getIdent());
?>
See Also
getIdent Manual