|
MediaWiki
REL1_19
|
Basic media transform error class. More...


Public Member Functions | |
| __construct ($msg, $width, $height) | |
| getHtmlMsg () | |
| isError () | |
| This will be overridden to return true in error classes. | |
| toHtml ($options=array()) | |
| Fetch HTML for this transform output. | |
| toText () | |
Public Attributes | |
| $height | |
| $htmlMsg | |
| $path | |
| $textMsg | |
| $url | |
| $width | |
Basic media transform error class.
Definition at line 283 of file MediaTransformOutput.php.
| MediaTransformError::__construct | ( | $ | msg, |
| $ | width, | ||
| $ | height | ||
| ) |
Definition at line 286 of file MediaTransformOutput.php.
References $height, $width, and wfMessage().

Definition at line 310 of file MediaTransformOutput.php.
This will be overridden to return true in error classes.
Reimplemented from MediaTransformOutput.
Definition at line 314 of file MediaTransformOutput.php.
| MediaTransformError::toHtml | ( | $ | options = array() | ) |
Fetch HTML for this transform output.
| $options | array Associative array of options. Boolean options should be indicated with a value of true for true, and false or absent for false. |
alt Alternate text or caption desc-link Boolean, show a description link file-link Boolean, show a file download link custom-url-link Custom URL to link to custom-title-link Custom Title object to link to valign vertical-align property, if the output is an inline element img-class Class applied to the tag, if there is such a tag
For images, desc-link and file-link are implemented as a click-through. For sounds and videos, they may be displayed in other ways.
Reimplemented from MediaTransformOutput.
Definition at line 299 of file MediaTransformOutput.php.
Definition at line 306 of file MediaTransformOutput.php.
| MediaTransformError::$height |
Reimplemented from MediaTransformOutput.
Definition at line 284 of file MediaTransformOutput.php.
Referenced by __construct().
| MediaTransformError::$htmlMsg |
Definition at line 284 of file MediaTransformOutput.php.
| MediaTransformError::$path |
Reimplemented from MediaTransformOutput.
Definition at line 284 of file MediaTransformOutput.php.
| MediaTransformError::$textMsg |
Definition at line 284 of file MediaTransformOutput.php.
| MediaTransformError::$url |
Reimplemented from MediaTransformOutput.
Definition at line 284 of file MediaTransformOutput.php.
| MediaTransformError::$width |
Reimplemented from MediaTransformOutput.
Definition at line 284 of file MediaTransformOutput.php.
Referenced by __construct().