45 $this->width = intval(
$width );
46 $this->height = intval(
$height );
51 public function toHtml( $options = [] ) {
52 return "<div class=\"MediaTransformError\" style=\"" .
53 "width: {$this->width}px; height: {$this->height}px; display:inline-block;\">" .
59 return $this->msg->text();
63 return $this->msg->escaped();
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
The Message class deals with fetching and processing of interface message into a variety of formats.