Examples TOCexamples

Simple ProgressBar Observer

$Date: 2004/06/27 13:08:28 $

 Table of contents

Introduction

This example requires :


This example will run a ProgressBar with a custom class observer mechanism. Output could be send to screen or on flat file 'observer_complex.log'.

Here are the contents of that file :

[Top]

 Render options

speed = 50 is set at line 46 
HTML_Progress::setAnimSpeed()
increment = 5 is set at line 47
HTML_Progress::setIncrement()

[Top]

 Output

Screenshot

[Top]

 PHP source syntax highlight

Open source listing in a new window.

[Top]

 Play demo

Run the screen version.

Run the file version.

[Top]