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

Class: HTML_Progress2_Observer

Source Location: /HTML_Progress2-2.0.0RC1/Progress2/Observer.php

Class Overview


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


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

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

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.0 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.



[ Top ]


Method Detail

HTML_Progress2_Observer (Constructor)   [line 65]

HTML_Progress2_Observer HTML_Progress2_Observer( )

Creates a new basic HTML_Progress2_Observer instance.
  • Since: 2.0.0
  • Access: public

[ Top ]

notify   [line 85]

void notify( mixed $event)

This is a stub method to make sure that HTML_Progress2_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

  • Since: 2.0.0
  • Access: public

Parameters:

mixed   $event   —  A hash describing the progress event.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:18:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright Š PHP Group 2004.