IMP_Mime_Viewer_Pdf
extends Horde_Mime_Viewer_Pdf
in package
Handler to generate thumbnails for PDF attachments.
Tags
Table of Contents
Properties
- $_capability : array<string|int, mixed>
- This driver's display capabilities.
Methods
- _getHordeImageOb() : mixed
- Return a Horde_Image object.
- _outputImgTag() : string
- Output an image tag for the thumbnail.
- _render() : array<string|int, mixed>
- Return the full rendered version of the Horde_Mime_Part object.
- _renderInfo() : array<string|int, mixed>
- Return the rendered information about the Horde_Mime_Part object.
Properties
$_capability
This driver's display capabilities.
protected
array<string|int, mixed>
$_capability
= array('full' => \true, 'info' => \true, 'inline' => \false, 'raw' => \false)
Methods
_getHordeImageOb()
Return a Horde_Image object.
protected
_getHordeImageOb(bool $load) : mixed
Parameters
- $load : bool
-
Whether to load the image data.
Return values
mixed —The Hore_Image object, or false on error.
_outputImgTag()
Output an image tag for the thumbnail.
protected
_outputImgTag() : string
Return values
string —An image tag.
_render()
Return the full rendered version of the Horde_Mime_Part object.
protected
_render() : array<string|int, mixed>
URL parameters used by this function:
- pdf_view_thumbnail: (boolean) Output the thumbnail info.
Return values
array<string|int, mixed> —See parent::render().
_renderInfo()
Return the rendered information about the Horde_Mime_Part object.
protected
_renderInfo() : array<string|int, mixed>
Return values
array<string|int, mixed> —See parent::render().