MediaWiki
REL1_39
UploadChunkVerificationException.php
Go to the documentation of this file.
1
<?php
27
class
UploadChunkVerificationException
extends
MWException
{
28
public
$msg
;
29
34
public
function
__construct
( array
$res
) {
35
$this->
msg
=
wfMessage
( ...$res );
36
parent::__construct(
wfMessage
( ...
$res
)
37
->inLanguage(
'en'
)->useDatabase(
false
)->text() );
38
}
39
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:934
MWException
MediaWiki exception.
Definition
MWException.php:29
MWException\msg
msg( $key, $fallback,... $params)
Get a message from i18n.
Definition
MWException.php:82
UploadChunkVerificationException
Definition
UploadChunkVerificationException.php:27
UploadChunkVerificationException\__construct
__construct(array $res)
Definition
UploadChunkVerificationException.php:34
UploadChunkVerificationException\$msg
$msg
Definition
UploadChunkVerificationException.php:28
$res
$res
Definition
testCompression.php:57
includes
upload
exception
UploadChunkVerificationException.php
Generated on Fri Dec 20 2024 15:35:36 for MediaWiki by
1.10.0