MediaWiki
1.34.4
BadRequestError.php
Go to the documentation of this file.
1
<?php
27
class
BadRequestError
extends
ErrorPageError
{
28
29
public
function
report
( $action = self::SEND_OUTPUT ) {
30
global
$wgOut
;
31
$wgOut
->setStatusCode( 400 );
32
parent::report( $action );
33
}
34
}
BadRequestError\report
report( $action=self::SEND_OUTPUT)
Definition:
BadRequestError.php:29
BadRequestError
An error page that emits an HTTP 400 Bad Request status code.
Definition:
BadRequestError.php:27
$wgOut
$wgOut
Definition:
Setup.php:885
ErrorPageError
An error page which can definitely be safely rendered using the OutputPage.
Definition:
ErrorPageError.php:27
includes
exception
BadRequestError.php
Generated on Thu Sep 24 2020 22:29:32 for MediaWiki by
1.8.18