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

Class: HTML_Progress_Observer

Source Location: /Progress/observer.php

Class Overview


The HTML_Progress_Observer implements the observer pattern for watching progress bar activity and taking actions on exceptional events.


Author(s):

Version:

  • 1.2.0

Methods



Class Details

[line 33]
The HTML_Progress_Observer implements the observer pattern for watching progress bar activity and taking actions on exceptional events.



Tags:

license:  PHP License 3.0
access:  public
author:  Laurent Laville <pear@laurent-laville.org>
version:  1.2.0


[ Top ]


Class Methods


constructor HTML_Progress_Observer [line 50]

HTML_Progress_Observer HTML_Progress_Observer( )

Creates a new basic HTML_Progress_Observer instance.



Tags:

access:  public
since:  1.0


[ Top ]

method notify [line 70]

void notify( mixed $event)

This is a stub method to make sure that HTML_Progress_Observer classes do something when they are notified of a message. The default behavior is to just write into a file 'progress_observer.log' in current directory.

You should override this method.

Default events :

  • setMinimum
  • setMaximum
  • setValue




Tags:

access:  public
since:  1.0


Parameters:

mixed   $event   A hash describing the progress event.

[ Top ]


Documentation generated on Sun, 12 Sep 2004 20:23:42 +0200 by phpDocumentor 1.3.0RC3