HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
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

  1. <?php
  2. require_once 'HTML/Progress.php';
  3.  
  4. $bar = new HTML_Progress();
  5.  
  6. printf('initial progress bar string identification = "%s" <br/>', $bar->getIdent());
  7. $bar->setIdent('PB1');
  8. printf('current progress bar string identification = "%s" <br/>', $bar->getIdent());
  9. ?>

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