MediaWiki  master
UploadChunkVerificationException.php
Go to the documentation of this file.
1 <?php
28  public $msg;
29 
30  public function __construct( array $res ) {
31  $this->msg = wfMessage( ...$res );
32  parent::__construct( wfMessage( ...$res )
33  ->inLanguage( 'en' )->useDatabase( false )->text() );
34  }
35 }
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition: GlobalFunctions.php:1183
$res
$res
Definition: testCompression.php:57
MWException
MediaWiki exception.
Definition: MWException.php:29
MWException\msg
msg( $key, $fallback,... $params)
Get a message from i18n.
Definition: MWException.php:81
UploadChunkVerificationException\__construct
__construct(array $res)
Definition: UploadChunkVerificationException.php:30
UploadChunkVerificationException\$msg
$msg
Definition: UploadChunkVerificationException.php:28
UploadChunkVerificationException
@newable
Definition: UploadChunkVerificationException.php:27