Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 5 Sep 2008 03:41:31 +0000 (03:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 5 Sep 2008 03:41:31 +0000 (03:41 +0000)
includes/db/Database.php

index 5b39564..245d10d 100644 (file)
@@ -205,12 +205,17 @@ class Database {
                return false;
        }
 
-       /**#@+
-        * Get function
+       /**
+        * Return the last query that went through Database::query()
+        * @return string
         */
        function lastQuery() { return $this->mLastQuery; }
+       
+       /**
+        * Is the a connection to the database open?
+        * @return bool
+        */
        function isOpen() { return $this->mOpened; }
-       /**#@-*/
 
        function setFlag( $flag ) {
                $this->mFlags |= $flag;