HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next

setIdent Manual

set the progress bar identification string

by by Laurent Laville
mailto:pear@laurent-laville.org
November 2003, Laurent Laville
(HTML_Progress 1.0+)

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

  1. <?php
  2. require_once ('HTML/Progress.php');
  3.  
  4. $bar = new HTML_Progress();
  5. $bar->setIdent('PB1');
  6.  
  7. print('progress bar string identification = ' $bar->getIdent());
  8. ?>

See Also

getIdent Manual

Prev Up Next
getIdent Manual Reference Guides getString Manual

Documentation generated on Mon, 11 Mar 2019 13:52:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.