MediaWiki  REL1_21
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 26 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 37 of file HttpStatus.php.

References array().

Referenced by HttpError\getHTML(), and HttpError\report().


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