MediaWiki
1.34.0
UploadChunkVerificationException.php
Go to the documentation of this file.
1
<?php
24
class
UploadChunkVerificationException
extends
MWException
{
25
public
$msg
;
26
27
public
function
__construct
( array
$res
) {
28
$this->
msg
=
wfMessage
( ...$res );
29
parent::__construct(
wfMessage
( ...
$res
)
30
->inLanguage(
'en'
)->useDatabase(
false
)->text() );
31
}
32
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition:
GlobalFunctions.php:1264
$res
$res
Definition:
testCompression.php:52
MWException
MediaWiki exception.
Definition:
MWException.php:26
MWException\msg
msg( $key, $fallback,... $params)
Get a message from i18n.
Definition:
MWException.php:75
UploadChunkVerificationException\__construct
__construct(array $res)
Definition:
UploadChunkVerificationException.php:27
UploadChunkVerificationException\$msg
$msg
Definition:
UploadChunkVerificationException.php:25
UploadChunkVerificationException
Definition:
UploadChunkVerificationException.php:24
includes
upload
exception
UploadChunkVerificationException.php
Generated on Thu Dec 19 2019 14:55:03 for MediaWiki by
1.8.16