MediaWiki  REL1_24
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.

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

Definition at line 35 of file HttpStatus.php.

References array().

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


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