Inherited by MediaTransformError, and ThumbnailImage.
Public Member Functions | |
getWidth () | |
Get the width of the output box. | |
getHeight () | |
Get the height of the output box. | |
getUrl () | |
getPath () | |
toHtml ($options=array()) | |
Fetch HTML for this transform output. | |
isError () | |
This will be overridden to return true in error classes. | |
getDescLinkAttribs ($alt=false, $params= '') | |
Public Attributes | |
$file | |
$width | |
$height | |
$url | |
$page | |
$path | |
Protected Member Functions | |
linkWrap ($linkAttribs, $contents) | |
Wrap some XHTML text in an anchor tag with the given attributes. |
Definition at line 12 of file MediaTransformOutput.php.
MediaTransformOutput::getDescLinkAttribs | ( | $ | alt = false , |
|
$ | params = '' | |||
) |
Definition at line 83 of file MediaTransformOutput.php.
References $title.
Referenced by ThumbnailImage::toHtml().
MediaTransformOutput::getHeight | ( | ) |
MediaTransformOutput::getPath | ( | ) |
Definition at line 39 of file MediaTransformOutput.php.
MediaTransformOutput::getUrl | ( | ) |
MediaTransformOutput::getWidth | ( | ) |
MediaTransformOutput::isError | ( | ) |
This will be overridden to return true in error classes.
Reimplemented in MediaTransformError.
Definition at line 68 of file MediaTransformOutput.php.
MediaTransformOutput::linkWrap | ( | $ | linkAttribs, | |
$ | contents | |||
) | [protected] |
Wrap some XHTML text in an anchor tag with the given attributes.
Definition at line 75 of file MediaTransformOutput.php.
References Xml::tags().
Referenced by ThumbnailImage::toHtml().
MediaTransformOutput::toHtml | ( | $ | options = array() |
) | [abstract] |
Fetch HTML for this transform output.
array | $options Associative array of options. Boolean options should be indicated with a value of true for true, and false or absent for false. |
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 in ThumbnailImage, and MediaTransformError.
MediaTransformOutput::$file |
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().
MediaTransformOutput::$height |
Reimplemented in MediaTransformError.
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().
MediaTransformOutput::$page |
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().
MediaTransformOutput::$path |
Reimplemented in MediaTransformError.
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().
MediaTransformOutput::$url |
Reimplemented in MediaTransformError.
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().
MediaTransformOutput::$width |
Reimplemented in MediaTransformError.
Definition at line 13 of file MediaTransformOutput.php.
Referenced by ThumbnailImage::ThumbnailImage().