[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> sql.php (summary)

Send SQL queries from the specified file to the database, performing variable replacement along the way. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 164 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

MwSql:: (4 methods):
  __construct()
  execute()
  sqlPrintResult()
  getDbType()


Class: MwSql  - X-Ref

Maintenance script that sends SQL queries from the specified file to the database.

__construct()   X-Ref
No description

execute()   X-Ref
No description

sqlPrintResult( $res, $db )   X-Ref
Print the results, callback for $db->sourceStream()

param: ResultWrapper $res The results object
param: DatabaseBase $db

getDbType()   X-Ref

return: int DB_TYPE constant



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1