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