MediaWiki REL1_31
|
Static Public Member Functions | |
static | getMessage ( $code) |
Get the message associated with an HTTP response status code. | |
static | header ( $code) |
Output an HTTP status code header. | |
Definition at line 26 of file HttpStatus.php.
|
static |
Get the message associated with an HTTP response status code.
int | $code | Status code |
Definition at line 34 of file HttpStatus.php.
References $code.
Referenced by ApiFormatBase\closePrinter(), SpecialPageExecutor\executeSpecialPage(), HttpError\getHTML(), and header().
|
static |
Output an HTTP status code header.
int | $code | Status code |
Definition at line 96 of file HttpStatus.php.
References $code, getMessage(), and header().
Referenced by SpecialRunJobs\execute(), header(), HttpError\report(), HTTPFileStreamer\send404Message(), AjaxResponse\sendHeaders(), MWException\statusHeader(), MWExceptionRenderer\statusHeader(), WebResponse\statusHeader(), HTTPFileStreamer\stream(), ResourceLoader\tryRespondNotModified(), wfHttpError(), wfStreamThumb(), and wfThumbError().