[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Communications protocol. This is used by dumpTextPass.php when the --spawn option is present. 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: | 91 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file maintenance/Maintenance.php |
FetchText:: (3 methods):
__construct()
execute()
doGetText()
__construct() X-Ref |
No description |
execute() X-Ref |
returns a string containing the following in order: textid \n length of text (-1 on error = failure to retrieve/unserialize/gunzip/etc) \n text (may be empty) note that that the text string itself is *not* followed by newline |
doGetText( $db, $id ) X-Ref |
May throw a database error if, say, the server dies during query. param: DatabaseBase $db param: int $id The old_id return: string |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |