PHP Class Horde_Mime_Viewer_Images, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Show file Open project: horde/horde Class Usage Examples

Protected Properties

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

Public Methods

Method Description
__construct ( Horde_Mime_Part $part, array $conf = [] ) Constructor.

Protected Methods

Method Description
_getType ( ) : string Return the content-type to use for the image.
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Mime_Part $part, array $conf = [] )
$part Horde_Mime_Part
$conf array Configuration.

_getType() protected method

Return the content-type to use for the image.
protected _getType ( ) : string
return string The content-type of the image.

_render() protected method

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

Property Details

$_capability protected property

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