Update of /cvsroot/phpweather/phpweather/db
In directory usw-pr-cvs1:/tmp/cvs-serv6193
Modified Files:
db_dba.php
Log Message:
Ups - updated docs.
Index: db_dba.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/db/db_dba.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- db_dba.php 2001/07/05 16:03:57 1.3
+++ db_dba.php 2001/07/08 21:27:43 1.4
@@ -39,8 +39,10 @@
var $link_countries_id;
/**
- * Constructor
+ * Constructor.
*
+ * It just calls the parent constructor.
+ *
* @param array the initial properties of the object
*/
function db_dba($input) {
@@ -51,7 +53,7 @@
/**
* Gets the type of the database.
*
- * @return string The type of the database, 'mysql' in this case.
+ * @return string The type of the database, 'dba' in this case.
* @access public
*/
function get_type() {
@@ -60,13 +62,20 @@
/**
* 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
+ * that it is safe to call this instead of testing $is_connected.
*
- * If there has already been made a connection to the database, this function just
returns true, and nothing will be changed. This means that it is safe to call this
instead of testing $is_connected.
+ * If $properties['db_pconnect'] is true, then a persistent
+ * connection will be established. $db_hostname is used as the path
+ * for the database.
*
- * If $properties['db_pconnect'] is true, then a persistent connection will be
established. $db_hostname is used as the path for the database.
+ * @return boolean Returns true, if a connection were established,
+ * false otherwise.
*
- * @return boolean Returns true, if a connection were established, false
otherwise.
* @access public
+ *
* @see disconnect()
*/
function connect() {
_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins