MediaWiki  REL1_19
HttpStatus Class Reference

List of all members.

Static Public Member Functions

static getMessage ($code)
 Get the message associed with the HTTP response code $code.

Detailed Description

Todo:
document

Definition at line 5 of file HttpStatus.php.


Member Function Documentation

static HttpStatus::getMessage ( code) [static]

Get the message associed with the HTTP response code $code.

Replace OutputPage::getStatusMessage( $code )

Parameters:
$codeInteger: status code
Returns:
String or null: message or null if $code is not in the list of messages

Definition at line 16 of file HttpStatus.php.

Referenced by OutputPage\getStatusMessage(), OutputPage\output(), and HttpError\reportHTML().

Here is the caller graph for this function:


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