MediaWiki
master
UploadChunkVerificationException.php
Go to the documentation of this file.
1
<?php
22
use
MediaWiki\Message\Message
;
23
27
class
UploadChunkVerificationException
extends
RuntimeException {
29
public
$msg
;
30
35
public
function
__construct
( array $res ) {
36
$this->msg =
wfMessage
( ...$res );
37
parent::__construct(
wfMessage
( ...$res )
38
->inLanguage(
'en'
)->useDatabase(
false
)->text() );
39
}
40
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:846
MediaWiki\Message\Message
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition
Message.php:150
UploadChunkVerificationException
Definition
UploadChunkVerificationException.php:27
UploadChunkVerificationException\__construct
__construct(array $res)
Definition
UploadChunkVerificationException.php:35
UploadChunkVerificationException\$msg
Message $msg
Definition
UploadChunkVerificationException.php:29
includes
upload
exception
UploadChunkVerificationException.php
Generated on Fri Sep 20 2024 07:25:50 for MediaWiki by
1.10.0