dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a76bedb
)
Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I...
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 5 Sep 2008 03:41:31 +0000
(
03:41
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 5 Sep 2008 03:41:31 +0000
(
03:41
+0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
5b39564
..
245d10d
100644
(file)
--- 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;