Update of /cvsroot/phpweather/phpweather/db
In directory usw-pr-cvs1:/tmp/cvs-serv29596

Modified Files:
        db_dba.php 
Log Message:
Updated documentaion a bit


Index: db_dba.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/db/db_dba.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- db_dba.php  2001/07/08 21:27:43     1.4
+++ db_dba.php  2001/07/13 09:21:57     1.5
@@ -9,12 +9,17 @@
 require(PHPWEATHER_BASE_DIR . '/db/db_common.php');
 
 /**
- * This class is the 'dba' database-type. This type of database is a wrapper itself, 
so you have to pass a handler to it as the index 'db_handler', when you create it.
+ * This class is the 'dba' database-type. This type of database is a
+ * wrapper itself, so you have to pass a handler to it as the index
+ * 'db_handler', when you create it.
  *
- * It implements all the methods necessary to insert, update and retrive METARs using 
a Berkeley DB style database. This is a file-based database, so you have to make sure 
that you have write access to the directory where you place the database.
+ * It implements all the methods necessary to insert, update and
+ * retrive METARs using a Berkeley DB style database. This is a
+ * file-based database, so you have to make sure that you have write
+ * access to the directory where you place the database.
  *
  * @author   Martin Geisler <[EMAIL PROTECTED]>
- * @version  $Id$
+ * @version $Id$
  */
 class db_dba extends db_common {
 
@@ -50,7 +55,7 @@
     $this->db_common($input);
   }
 
-  /**
+   /**
    * Gets the type of the database.
    *
    * @return  string  The type of the database, 'dba' in this case.
@@ -60,8 +65,9 @@
     return 'dba';
   }
 
-  /**
-   * Establishes a connection to the database. It is assumed, that the database is 
already created.
+   /**
+   * Establishes a connection to the database. It is assumed, that the
+   * database is already created.
    *
    * If there has already been made a connection to the database, this
    * function just returns true, and nothing will be changed. This means
@@ -76,7 +82,7 @@
    *
    * @access  public
    *
-   * @see     disconnect()
+   * @see     disconnect(), $is_connected
    */
   function connect() {
     if ($this->is_connected) {
@@ -125,7 +131,7 @@
    *
    * @return  boolean  Since dba_close() doesn't return any value, this function 
always returns true.
    * @access  public
-   * @see     connect()
+   * @see     connect(), $is_connected
    */
   function disconnect() {
     if ($this->is_connected) {


_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins

Reply via email to