MediaWiki  REL1_22
HttpStatus Class Reference

List of all members.

Static Public Member Functions

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

Detailed Description

Todo:
document

Definition at line 26 of file HttpStatus.php.


Member Function Documentation

static HttpStatus::getMessage ( code) [static]

Get the message associated with 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 37 of file HttpStatus.php.

References array().

Referenced by HttpError\getHTML(), OutputPage\output(), HttpError\report(), and wfStreamThumb().


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