MediaWiki
REL1_32
BadRequestError.php
Go to the documentation of this file.
1
<?php
27
class
BadRequestError
extends
ErrorPageError
{
28
29
public
function
report
() {
30
global
$wgOut
;
31
$wgOut
->setStatusCode( 400 );
32
parent::report();
33
}
34
}
$wgOut
$wgOut
Definition
Setup.php:915
BadRequestError
An error page that emits an HTTP 400 Bad Request status code.
Definition
BadRequestError.php:27
BadRequestError\report
report()
Output a report about the exception and takes care of formatting.
Definition
BadRequestError.php:29
ErrorPageError
An error page which can definitely be safely rendered using the OutputPage.
Definition
ErrorPageError.php:27
includes
exception
BadRequestError.php
Generated on Mon Nov 25 2024 15:57:01 for MediaWiki by
1.10.0