Public Member Functions | |
setFailFunction ($function) | |
& | setOutputPage (&$out) |
setDebug ($debug) | |
setBufferResults ($buffer) | |
setIgnoreErrors ($ignoreErrors) | |
lastQuery () | |
isOpen () | |
Database () | |
newFromParams ($server, $user, $password, $dbName, $failFunction=false, $debug=false, $bufferResults=true, $ignoreErrors=false) | |
open ($server, $user, $password, $dbName) | |
close () | |
reportConnectionError ($msg="") | |
query ($sql, $fname="") | |
freeResult ($res) | |
fetchObject ($res) | |
fetchRow ($res) | |
numRows ($res) | |
numFields ($res) | |
fieldName ($res, $n) | |
insertId () | |
dataSeek ($res, $row) | |
lastErrno () | |
lastError () | |
affectedRows () | |
set ($table, $var, $value, $cond, $fname="Database::set") | |
get ($table, $var, $cond, $fname="Database::get") | |
getArray ($table, $vars, $conds, $fname="Database::getArray") | |
generalizeSQL ($sql) | |
fieldExists ($table, $field, $fname="Database::fieldExists") | |
indexExists ($table, $index, $fname="Database::indexExists") | |
tableExists ($table) | |
fieldInfo ($table, $field) | |
insertArray ($table, $a, $fname="Database::insertArray") | |
updateArray ($table, $values, $conds, $fname="Database::updateArray") | |
makeList ($a, $mode=LIST_COMMA) | |
selectDB ($db) | |
startTimer ($timeout) | |
stopTimer () | |
setFailFunction ($function) | |
& | setOutputPage (&$out) |
setDebug ($debug) | |
setBufferResults ($buffer) | |
setIgnoreErrors ($ignoreErrors) | |
lastQuery () | |
isOpen () | |
Database () | |
newFromParams ($server, $user, $password, $dbName, $failFunction=false, $debug=false, $bufferResults=true, $ignoreErrors=false) | |
open ($server, $user, $password, $dbName) | |
close () | |
reportConnectionError ($msg="") | |
query ($sql, $fname="") | |
freeResult ($res) | |
fetchObject ($res) | |
fetchRow ($res) | |
numRows ($res) | |
numFields ($res) | |
fieldName ($res, $n) | |
insertId () | |
dataSeek ($res, $row) | |
lastErrno () | |
lastError () | |
affectedRows () | |
set ($table, $var, $value, $cond, $fname="Database::set") | |
get ($table, $var, $cond, $fname="Database::get") | |
getArray ($table, $vars, $conds, $fname="Database::getArray") | |
generalizeSQL ($sql) | |
fieldExists ($table, $field, $fname="Database::fieldExists") | |
indexExists ($table, $index, $fname="Database::indexExists") | |
tableExists ($table) | |
fieldInfo ($table, $field) | |
insertArray ($table, $a, $fname="Database::insertArray") | |
updateArray ($table, $values, $conds, $fname="Database::updateArray") | |
makeList ($a, $mode=LIST_COMMA) | |
startTimer ($timeout) | |
stopTimer () | |
Public Attributes | |
$mLastQuery = "" | |
$mBufferResults = true | |
$mIgnoreErrors = false | |
$mServer | |
$mUser | |
$mPassword | |
$mConn | |
$mDBname | |
$mOut | |
$mDebug | |
$mOpened = false | |
$mFailFunction | |
$mLastResult |
|
Definition at line 63 of file Database.php. References $wgOut. |
|
Definition at line 80 of file DatabasePostgreSQL.php. References $wgOut. |
|
Definition at line 240 of file DatabasePostgreSQL.php. |
|
Definition at line 231 of file Database.php. |
|
Definition at line 132 of file DatabasePostgreSQL.php. |
|
Definition at line 128 of file Database.php. Referenced by open(). |
|
Definition at line 237 of file DatabasePostgreSQL.php. References dataSeek(). |
|
Definition at line 228 of file Database.php. References dataSeek(). Referenced by dataSeek(). |
|
Definition at line 202 of file DatabasePostgreSQL.php. References $row, fetchObject(), and wfDebugDieBacktrace(). |
|
Definition at line 201 of file Database.php. References $row, fetchObject(), and wfDebugDieBacktrace(). Referenced by fetchObject(). |
|
Definition at line 215 of file DatabasePostgreSQL.php. References $row, fetchRow(), and wfDebugDieBacktrace(). |
|
Definition at line 210 of file Database.php. References $row, fetchRow(), and wfDebugDieBacktrace(). Referenced by fetchRow(). |
|
Definition at line 320 of file DatabasePostgreSQL.php. References $res, $row, DB_READ, and fieldExists(). |
|
Definition at line 305 of file Database.php. References $res, $row, DB_READ, and fieldExists(). Referenced by fieldExists(). |
|
Definition at line 374 of file DatabasePostgreSQL.php. References $i, $n, $res, fieldInfo(), and wfDebugDieBacktrace(). |
|
Definition at line 362 of file Database.php. References $i, $n, $res, and fieldInfo(). Referenced by fieldInfo(). |
|
Definition at line 231 of file DatabasePostgreSQL.php. References fieldName(), and n. |
|
Definition at line 226 of file Database.php. References fieldName(), and n. Referenced by fieldName(). |
|
Definition at line 197 of file DatabasePostgreSQL.php. References freeResult(), and wfDebugDieBacktrace(). |
|
Definition at line 196 of file Database.php. References freeResult(), and wfDebugDieBacktrace(). Referenced by freeResult(). |
|
Definition at line 296 of file DatabasePostgreSQL.php. References $sql, and generalizeSQL(). |
|
Definition at line 281 of file Database.php. References $sql, and generalizeSQL(). Referenced by generalizeSQL(), and query(). |
|
Definition at line 257 of file DatabasePostgreSQL.php. |
|
Definition at line 246 of file Database.php. References $s, $sql, DB_READ, and get(). Referenced by get(). |
|
Definition at line 280 of file DatabasePostgreSQL.php. References $res, $sql, getArray(), LIST_AND, and makeList(). |
|
Definition at line 265 of file Database.php. References $res, $sql, getArray(), LIST_AND, and makeList(). Referenced by getArray(). |
|
Definition at line 341 of file DatabasePostgreSQL.php. References $res, $row, $sql, DB_READ, and indexExists(). |
|
Definition at line 326 of file Database.php. References $res, $row, $sql, DB_READ, and indexExists(). Referenced by indexExists(). |
|
Definition at line 393 of file DatabasePostgreSQL.php. References $first, $sql, $sql2, insertArray(), and makeList(). |
|
Definition at line 379 of file Database.php. References $first, $sql, $sql2, insertArray(), and makeList(). Referenced by insertArray(). |
|
Definition at line 233 of file DatabasePostgreSQL.php. References wfDebugDieBacktrace(). |
|
Definition at line 227 of file Database.php. |
|
Definition at line 74 of file DatabasePostgreSQL.php. |
|
Definition at line 57 of file Database.php. |
|
Definition at line 238 of file DatabasePostgreSQL.php. References lastError(). |
|
Definition at line 229 of file Database.php. |
|
Definition at line 239 of file DatabasePostgreSQL.php. |
|
Definition at line 230 of file Database.php. Referenced by lastErrno(). |
|
Definition at line 73 of file DatabasePostgreSQL.php. |
|
Definition at line 56 of file Database.php. |
|
Definition at line 421 of file DatabasePostgreSQL.php. References $first, $list, LIST_AND, LIST_SET, makeList(), and wfStrencode(). |
|
Definition at line 407 of file Database.php. References $first, $list, LIST_AND, LIST_SET, makeList(), and wfStrencode(). Referenced by getArray(), insertArray(), makeList(), and updateArray(). |
|
Definition at line 91 of file DatabasePostgreSQL.php. References newFromParams(), password, and user. |
|
Definition at line 74 of file Database.php. References newFromParams(), password, and user. Referenced by newFromParams(). |
|
Definition at line 230 of file DatabasePostgreSQL.php. References numFields(). |
|
Definition at line 225 of file Database.php. References numFields(). Referenced by numFields(). |
|
Definition at line 223 of file DatabasePostgreSQL.php. References $n, numRows(), and wfDebugDieBacktrace(). |
|
Definition at line 218 of file Database.php. References $n, numRows(), and wfDebugDieBacktrace(). Referenced by numRows(). |
|
Definition at line 105 of file DatabasePostgreSQL.php. References $user, $wgEmergencyContact, close(), open(), password, and wfDebug(). |
|
Definition at line 88 of file Database.php. References $user, $wgEmergencyContact, close(), open(), password, reportConnectionError(), user, and wfDebug(). Referenced by open(). |
|
Definition at line 155 of file DatabasePostgreSQL.php. References $sql, $wgProfiling, generalizeSQL(), mIgnoreErrors, query(), wfDebug(), wfProfileIn(), and wfProfileOut(). |
|
Definition at line 152 of file Database.php. References $sql, $wgProfiling, generalizeSQL(), mIgnoreErrors, query(), wfDebug(), wfProfileIn(), and wfProfileOut(). Referenced by query(). |
|
Definition at line 142 of file DatabasePostgreSQL.php. References $mFailFunction, reportConnectionError(), and wfEmergencyAbort(). |
|
Definition at line 138 of file Database.php. References reportConnectionError(), and wfEmergencyAbort(). Referenced by open(), and reportConnectionError(). |
|
Definition at line 433 of file Database.php. References selectDB(). Referenced by selectDB(). |
|
Definition at line 247 of file DatabasePostgreSQL.php. References $sql, DB_WRITE, set(), and wfStrencode(). |
|
Definition at line 236 of file Database.php. References $sql, DB_WRITE, set(), and wfStrencode(). Referenced by set(). |
|
Definition at line 62 of file DatabasePostgreSQL.php. References setBufferResults(), and wfSetVar(). |
|
Definition at line 45 of file Database.php. References setBufferResults(), and wfSetVar(). Referenced by setBufferResults(). |
|
Definition at line 58 of file DatabasePostgreSQL.php. References setDebug(), and wfSetVar(). |
|
Definition at line 41 of file Database.php. References setDebug(), and wfSetVar(). Referenced by setDebug(). |
|
Definition at line 51 of file DatabasePostgreSQL.php. References setFailFunction(), and wfSetVar(). |
|
Definition at line 34 of file Database.php. References setFailFunction(), and wfSetVar(). Referenced by setFailFunction(). |
|
Definition at line 69 of file DatabasePostgreSQL.php. References setIgnoreErrors(), and wfSetVar(). |
|
Definition at line 52 of file Database.php. References setIgnoreErrors(), and wfSetVar(). Referenced by setIgnoreErrors(). |
|
Definition at line 55 of file DatabasePostgreSQL.php. References setOutputPage(). |
|
Definition at line 38 of file Database.php. References setOutputPage(). Referenced by setOutputPage(). |
|
Definition at line 447 of file DatabasePostgreSQL.php. References $IP, $tid, startTimer(), and wfDebugDieBacktrace(). |
|
Definition at line 439 of file Database.php. References $IP, $tid, and startTimer(). Referenced by startTimer(). |
|
Definition at line 455 of file DatabasePostgreSQL.php. |
|
Definition at line 447 of file Database.php. |
|
Definition at line 360 of file DatabasePostgreSQL.php. References $res, mIgnoreErrors, and tableExists(). |
|
Definition at line 348 of file Database.php. References $res, mIgnoreErrors, and tableExists(). Referenced by tableExists(). |
|
Definition at line 410 of file DatabasePostgreSQL.php. References $sql, LIST_AND, LIST_SET, makeList(), and updateArray(). |
|
Definition at line 396 of file Database.php. References $sql, LIST_AND, LIST_SET, makeList(), and updateArray(). Referenced by updateArray(). |
|
Definition at line 34 of file DatabasePostgreSQL.php. |
|
Definition at line 37 of file DatabasePostgreSQL.php. |
|
Definition at line 37 of file DatabasePostgreSQL.php. |
|
Definition at line 38 of file DatabasePostgreSQL.php. |
|
Definition at line 40 of file DatabasePostgreSQL.php. Referenced by reportConnectionError(). |
|
Definition at line 35 of file DatabasePostgreSQL.php. |
|
Definition at line 33 of file DatabasePostgreSQL.php. |
|
Definition at line 41 of file DatabasePostgreSQL.php. |
|
Definition at line 38 of file DatabasePostgreSQL.php. |
|
Definition at line 38 of file DatabasePostgreSQL.php. |
|
Definition at line 37 of file DatabasePostgreSQL.php. |
|
Definition at line 37 of file DatabasePostgreSQL.php. |
|
Definition at line 37 of file DatabasePostgreSQL.php. |