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

Class: HTML_Progress_Observer

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


Child classes:

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

Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

HTML_Progress_Observer (Constructor)   [line 50]

HTML_Progress_Observer HTML_Progress_Observer( )

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

[ Top ]

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

  • Since: 1.0
  • Access: public

Overridden in child classes as:

logsUpload::notify()
MyObserver::notify()
Bar1Observer::notify()

Parameters:

mixed   $event   —  A hash describing the progress event.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:52:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.