HTML_Progress::setIdent

HTML_Progress

Prev |  | Next
HTML_Progress::setIdent sets the progress meter identification string ## Synopsis require_once 'HTML/Progress.php'; void HTML_Progress::setIdent( string $ident = NULL) ## Description This method is used to set the identification string of a progress meter. It's very useful when you manage more than one progress meter on same page. Default behavior set a string prefixed by 'p_' followed by six random characters. ## Parameter string $ident the progress meter string identification. ## Note ( HTML_Progress >= 1.0 )
| This function can not be called statically.
## See HTML_Progress::getIdent ## Example

    <?php
    require_once 'HTML/Progress.php';

    $bar = new HTML_Progress();

    printf('initial progress bar string identification = "%s" <br/>', $bar->getIdent());
    $bar->setIdent('PB1');
    printf('current progress bar string identification = "%s" <br/>', $bar->getIdent());
    ?>
Prev | Up | Next
HTML_Progress::getIdent | Reference Guide | HTML_Progress::getAnimSpeed
Documentation generated on Sun, 12 Sep 2004 20:23:03 +0200 by phpDocumentor 1.3.0RC3