MediaWiki
REL1_40
BadRequestError.php
Go to the documentation of this file.
1
<?php
29
class
BadRequestError
extends
ErrorPageError
{
30
38
public
function
report
( $action = self::SEND_OUTPUT ) {
39
global
$wgOut
;
40
$wgOut
->setStatusCode( 400 );
41
parent::report( $action );
42
}
43
}
$wgOut
if(!defined( 'MW_NO_SESSION') &&! $wgCommandLineMode $wgOut
Definition
Setup.php:527
BadRequestError
An error page that emits an HTTP 400 Bad Request status code.
Definition
BadRequestError.php:29
BadRequestError\report
report( $action=self::SEND_OUTPUT)
Definition
BadRequestError.php:38
ErrorPageError
An error page which can definitely be safely rendered using the OutputPage.
Definition
ErrorPageError.php:30
includes
exception
BadRequestError.php
Generated on Thu Jun 27 2024 14:02:42 for MediaWiki by
1.10.0