[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> backup.inc (summary)

Base classes for database dumpers Copyright © 2005 Brion Vibber <[email protected]> https://www.mediawiki.org/

File Size: 398 lines (11 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

DumpDBZip2Output:: (1 method):
  __construct()

BackupDumper:: (18 methods):
  __construct()
  registerOutput()
  registerFilter()
  loadPlugin()
  processArgs()
  processOption()
  dump()
  initProgress()
  backupDb()
  setDb()
  __destruct()
  backupServer()
  reportPage()
  revCount()
  report()
  showReport()
  progress()
  fatalError()

ExportProgressFilter:: (3 methods):
  __construct()
  writeClosePage()
  writeRevision()


Class: DumpDBZip2Output  - X-Ref


__construct( $file )   X-Ref
No description

Class: BackupDumper  - X-Ref


__construct( $args )   X-Ref
No description

registerOutput( $name, $class )   X-Ref

param: string $name
param: string $class Name of output filter plugin class

registerFilter( $name, $class )   X-Ref

param: string $name
param: string $class Name of filter plugin class

loadPlugin( $class, $file )   X-Ref
Load a plugin and register it

param: string $class Name of plugin class; must have a static 'register'
param: string $file Full or relative path to the PHP file to load, or empty

processArgs( $args )   X-Ref

param: array $args
return: array

processOption( $opt, $val, $param )   X-Ref
No description

dump( $history, $text = WikiExporter::TEXT )   X-Ref
No description

initProgress( $history = WikiExporter::FULL )   X-Ref
Initialise starting time and maximum revision count.
We'll make ETA calculations based an progress, assuming relatively
constant per-revision rate.

param: int $history WikiExporter::CURRENT or WikiExporter::FULL

backupDb()   X-Ref

return: DatabaseBase

setDb( DatabaseBase $db = null )   X-Ref
Force the dump to use the provided database connection for database
operations, wherever possible.

param: DatabaseBase|null $db (Optional) the database connection to use. If null, resort to

__destruct()   X-Ref
No description

backupServer()   X-Ref
No description

reportPage()   X-Ref
No description

revCount()   X-Ref
No description

report( $final = false )   X-Ref
No description

showReport()   X-Ref
No description

progress( $string )   X-Ref
No description

fatalError( $msg )   X-Ref
No description

Class: ExportProgressFilter  - X-Ref

__construct( &$sink, &$progress )   X-Ref
No description

writeClosePage( $string )   X-Ref
No description

writeRevision( $rev, $string )   X-Ref
No description



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