From a374cf1101046f8f1df229b1d81098244c01ddae Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 5 Sep 2008 03:41:31 +0000 Subject: [PATCH] Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I just don't know what they do. --- includes/db/Database.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 5b39564958..245d10d111 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -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; -- 2.20.1