MediaWiki  REL1_20
GetSlaveServer Class Reference

Maintenance script that reports the hostname of a slave server. More...

Inheritance diagram for GetSlaveServer:
Collaboration diagram for GetSlaveServer:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Detailed Description

Maintenance script that reports the hostname of a slave server.

Definition at line 31 of file getSlaveServer.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 32 of file getSlaveServer.php.

References Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 37 of file getSlaveServer.php.

References $lb, Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), wfGetDB(), and wfGetLB().


The documentation for this class was generated from the following file: