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

Class: HTML_Progress_Observer

Source Location: /HTML_Progress-1.2.6/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:

  • Release: 1.2.6

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 48]
The HTML_Progress_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_Progress_Observer (Constructor)   [line 65]

HTML_Progress_Observer HTML_Progress_Observer( )

Creates a new basic HTML_Progress_Observer instance.
  • Since: 1.0
  • Access: public

[ Top ]

notify   [line 85]

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

  • Since: 1.0
  • Access: public

Parameters:

mixed   $event   —  A hash describing the progress event.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:24:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.