Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv3857
Modified Files:
base_object.php
Log Message:
Rearranging comments, correcting typos...
Index: base_object.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/base_object.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- base_object.php 2001/07/05 16:05:11 1.9
+++ base_object.php 2001/07/08 18:57:34 1.10
@@ -7,10 +7,11 @@
}
/**
- * Provides some basic capabilities like error-handling and handling of defaults.
+ * Provides some basic capabilities like error-handling and handling
+ * of defaults.
*
* This class handles various messages. By using this class, you'll
- * get a set of standard methods to generate messenges. You can make
+ * get a set of standard methods to generate messages. You can make
* error-messages, notices and print debug-information.
*
* @author Martin Geisler <[EMAIL PROTECTED]>
@@ -18,6 +19,7 @@
* @package PHP Weather
*/
class base_object {
+
/**
* All the objects properties are stored in this array.
*
@@ -35,9 +37,12 @@
/**
* Sets up the properties by overriding the defaults with the actual input.
*
- * First it includes the file 'defaults-dist.php'. Next it includes 'defaults.php'.
You should place your local customizations in that file, since it will never be
overridden. Finally it runs through $input and overrides the properties defined there.
+ * First it includes the file 'defaults-dist.php'. Next it includes
+ * 'defaults.php'. You should place your local customizations in
+ * 'defaults.php' file, since it will never be overridden.
+ * Finally it runs through $input and overrides the properties defined there.
*
- * @param $input array the initial properties of the object
+ * @param $input array The initial properties of the object
* @see $properties
*/
function base_object($input) {
@@ -48,12 +53,12 @@
include_once(PHPWEATHER_BASE_DIR . '/defaults.php');
}
- /* Then we override the defaults with the actual properties */
+ /* Then we override the defaults with the actual properties */
while (list($key, $value) = each($input)) {
$this->properties[$key] = $value;
}
- /* And finally, we set the version. */
+ /* And finally, we set the version. */
$this->version = '#VERSION#';
}
_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins