MediaWiki REL1_27
DBReadOnlyError Class Reference
Inheritance diagram for DBReadOnlyError:
Collaboration diagram for DBReadOnlyError:

Public Member Functions

 getPageTitle ()
 Return the title of the page when reporting this error in a HTTP response.
 
- Public Member Functions inherited from DBExpectedError
 getHTML ()
 
 getText ()
 
- Public Member Functions inherited from DBError
 __construct (DatabaseBase $db=null, $error)
 Construct a database error.
 
- Public Member Functions inherited from MWException
 isLoggable ()
 Whether to log this exception in the exception debug log.
 
 msg ( $key, $fallback)
 Get a message from i18n.
 
 report ()
 Output a report about the exception and takes care of formatting.
 
 reportHTML ()
 Output the exception report using HTML.
 
 runHooks ( $name, $args=[])
 Run hook to allow extensions to modify the text of the exception.
 
 useMessageCache ()
 Can the extension use the Message class/wfMessage to get i18n-ed messages?
 
 useOutputPage ()
 Should the exception use $wgOut to output the error?
 

Additional Inherited Members

- Static Public Member Functions inherited from MWException
static isCommandLine ()
 Check whether we are in command line mode or not to report the exception in the correct format.
 
- Public Attributes inherited from DBError
DatabaseBase $db
 
- Protected Member Functions inherited from DBExpectedError
 getHTMLContent ()
 
 getTextContent ()
 

Detailed Description

Definition at line 418 of file DatabaseError.php.

Member Function Documentation

◆ getPageTitle()

DBReadOnlyError::getPageTitle ( )

Return the title of the page when reporting this error in a HTTP response.

Returns
string

Reimplemented from DBExpectedError.

Definition at line 419 of file DatabaseError.php.

References MWException\msg().


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