PHP Class IMP_Mime_Viewer_Images, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Images
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_capability array This driver's display capabilities.

Méthodes publiques

Méthode Description
canRender ( $mode )

Méthodes protégées

Méthode 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 méthode

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

_imgDataUrl() protected méthode

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

_outputImgTag() protected méthode

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

_render() protected méthode

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
Résultat array See parent::render().

_renderImgData() protected méthode

protected _renderImgData ( $base64 = false )

_renderInfo() protected méthode

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

_renderInline() protected méthode

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

_renderRaw() protected méthode

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

_viewConvert() protected méthode

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

canRender() public méthode

public canRender ( $mode )

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
Résultat array