PHP Class IMP_Mime_Viewer_Images, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Images
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_capability array This driver's display capabilities.

Public Methods

Method Description
canRender ( $mode )

Protected Methods

Method Description
_getHordeImageOb ( boolean $load ) : mixed Return a Horde_Image object.
_imgDataUrl ( string $view = 'data' ) : Horde_Url Output the URL to view image data.
_outputImgTag ( string $type, string $alt ) : string Output an image tag.
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderImgData ( $base64 = false )
_renderInfo ( ) : array Return the rendered information about the Horde_Mime_Part object.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.
_renderRaw ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_viewConvert ( boolean $thumb ) : string Convert image.

Method Details

_getHordeImageOb() protected method

Return a Horde_Image object.
protected _getHordeImageOb ( boolean $load ) : mixed
$load boolean Whether to load the image data.
return mixed The Horde_Image object, or false on error.

_imgDataUrl() protected method

Output the URL to view image data.
protected _imgDataUrl ( string $view = 'data' ) : Horde_Url
$view string View type: 'data' or 'view_thumbnail'.
return Horde_Url URL.

_outputImgTag() protected method

Output an image tag.
protected _outputImgTag ( string $type, string $alt ) : string
$type string The view type.
$alt string The ALT text.
return string An image tag.

_render() protected method

URL parameters used by this function: - imp_img_base64: (boolean) Return data in base64. - imp_img_view: (string) One of the following: - data: Output the image directly. - view_convert: Convert the image to browser-viewable format and display. - view_thumbnail: Create thumbnail and display.
protected _render ( ) : array
return array See parent::render().

_renderImgData() protected method

protected _renderImgData ( $base64 = false )

_renderInfo() protected method

Return the rendered information about the Horde_Mime_Part object.
protected _renderInfo ( ) : array
return array See parent::render().

_renderInline() protected method

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
return array See parent::render().

_renderRaw() protected method

Return the full rendered version of the Horde_Mime_Part object.
protected _renderRaw ( ) : array
return array See parent::render().

_viewConvert() protected method

Convert image.
protected _viewConvert ( boolean $thumb ) : string
$thumb boolean View image in thumbnail size?
return string The image data.

canRender() public method

public canRender ( $mode )

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
return array