cvs: pear /HTML_Progress/Progress model.php observer.php
| From: | Laurent Laville | Date: | Mon, 25 Jul 2005 13:02:33 +0000 |
| Subject: | cvs: pear /HTML_Progress/Progress model.php observer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33307@lists.php.net to get a copy of this message | ||
farell Mon Jul 25 09:02:33 2005 EDT
Modified files:
/pear/HTML_Progress/Progress model.php observer.php
Log:
Updates headers comment block
http://cvs.php.net/diff.php/pear/HTML_Progress/Progress/model.php?r1=1.4&r2=1.5&ty=u
Index: pear/HTML_Progress/Progress/model.php
diff -u pear/HTML_Progress/Progress/model.php:1.4 pear/HTML_Progress/Progress/model.php:1.5
--- pear/HTML_Progress/Progress/model.php:1.4 Sat Jul 3 10:48:15 2004
+++ pear/HTML_Progress/Progress/model.php Mon Jul 25 09:02:33 2005
@@ -1,36 +1,50 @@
<?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: model.php,v 1.4 2004/07/03 14:48:15 farell Exp $
-
/**
- * The HTML_Progress_Model class provides an easy way to set look and feel
+ * The HTML_Progress_Model class provides an easy way to set look and feel
* of a progress bar with external config file.
*
- * @version 1.2.0
- * @author Laurent Laville <pear@laurent-laville.org>
- * @access public
+ * 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.
+ *
+ * @category HTML
* @package HTML_Progress
* @subpackage Progress_UI
+ * @author Laurent Laville <pear@laurent-laville.org>
+ * @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
+ * @version CVS: $Id: model.php,v 1.5 2005/07/25 13:02:33 farell Exp $
+ * @link http://pear.php.net/package/HTML_Progress
*/
require_once 'Config.php';
+/**
+ * The HTML_Progress_Model class provides an easy way to set look and feel
+ * of a progress bar with external config file.
+ *
+ * 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.
+ *
+ * @category HTML
+ * @package HTML_Progress
+ * @subpackage Progress_UI
+ * @author Laurent Laville <pear@laurent-laville.org>
+ * @copyright 1997-2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt
PHP License 3.0
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/HTML_Progress
+ */
+
class HTML_Progress_Model extends HTML_Progress_UI
{
/**
@@ -79,7 +93,7 @@
$structure = $data->toArray(false);
$this->_progress =& $structure['root'];
-
+
if (is_array($this->_progress['cell']['font-family'])) {
$this->_progress['cell']['font-family'] = implode(",",
$this->_progress['cell']['font-family']);
}
@@ -88,7 +102,7 @@
}
$this->_orientation = $this->_progress['orientation']['shape'];
$this->_fillWay = $this->_progress['orientation']['fillway'];
-
+
if (isset($this->_progress['script']['file'])) {
$this->_script = $this->_progress['script']['file'];
} else {
http://cvs.php.net/diff.php/pear/HTML_Progress/Progress/observer.php?r1=1.3&r2=1.4&ty=u
Index: pear/HTML_Progress/Progress/observer.php
diff -u pear/HTML_Progress/Progress/observer.php:1.3 pear/HTML_Progress/Progress/observer.php:1.4
--- pear/HTML_Progress/Progress/observer.php:1.3 Sat Jul 3 10:48:15 2004
+++ pear/HTML_Progress/Progress/observer.php Mon Jul 25 09:02:33 2005
@@ -1,33 +1,48 @@
<?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
* on exceptional events.
*
- * @version 1.2.0
+ * 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.
+ *
+ * @category HTML
+ * @package HTML_Progress
+ * @subpackage Progress_Observer
* @author Laurent Laville <pear@laurent-laville.org>
- * @access public
+ * @copyright 1997-2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt
PHP License 3.0
+ * @version CVS: $Id: observer.php,v 1.4 2005/07/25 13:02:33 farell Exp $
+ * @link http://pear.php.net/package/HTML_Progress
+ */
+
+/**
+ * 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.
+ *
+ * @category HTML
* @package HTML_Progress
* @subpackage Progress_Observer
+ * @author Laurent Laville <pear@laurent-laville.org>
+ * @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/HTML_Progress
*/
class HTML_Progress_Observer
@@ -74,4 +89,4 @@
}
}
-?>
+?>
\ No newline at end of file