Source for file observer.php
Documentation is available at observer.php
// +----------------------------------------------------------------------+
// | PEAR :: HTML :: Progress |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | 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 world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Author: Laurent Laville <pear@laurent-laville.org> |
// +----------------------------------------------------------------------+
// $Id: observer.php,v 1.3 2004/07/03 14:48:15 farell Exp $
* The HTML_Progress_Observer implements the observer pattern
* for watching progress bar activity and taking actions
* @author Laurent Laville <pear@laurent-laville.org>
* @subpackage Progress_Observer
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* Instance-specific unique identification number.
* Creates a new basic HTML_Progress_Observer instance.
* 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.
* @param mixed $event A hash describing the progress event.
error_log (" $msg \n" , 3 , 'progress_observer.log');
Documentation generated on Mon, 11 Mar 2019 13:52:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|