PEAR::HTML::Progress example: Default ProgressBar Monitor
Author: Laurent Laville

examples

# Default ProgressBar Monitor

$Date: 2005/07/25 12:15:50 $

- Introduction
- Render options
- Ouput
- PHP source syntax highlight
- Play demo

## Introduction

This example requires :

- PEAR::HTML_Progress_Monitor 1.2.2 or better (see source at line 11).

Be aware that:

- HTML_Progress_Monitor has dependencies (HTML_QuickForm 3.2.4+)

This example will run a default ProgressBar Monitor, and used a default QuickForm renderer without any form template customizations. No user callback was defined.

[Top]

## Render options

Even if we used default monitor values, we have changed on bar itself :

    speed = 50 (at line 17)

HTML_Progress::setAnimSpeed()

    increment = 10 (at line 18)

HTML_Progress::setIncrement()

[Top]

## Output

### Screenshot

[Top]

## PHP source syntax highlight

Open source listing in a new window.

[Top]

## Play demo

Run the script.

[Top]