PHP Class Horde_Mime_Viewer_Report, horde
Copyright 2003-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.
Show file
Open project: horde/horde
Public Methods
Method |
Description |
|
__construct ( Horde_Mime_Part $part, array $conf = [] ) |
Constructor. |
|
Protected Methods
Method |
Description |
|
_getViewer ( ) : mixed |
Return the underlying MIME Viewer for this part. |
|
Method Details
__construct()
public method
public __construct ( Horde_Mime_Part $part, array $conf = [] ) |
$part |
Horde_Mime_Part |
|
$conf |
array |
Configuration:
'viewer_callback' - (callback) A callback to a factory that will
return the appropriate viewer for the embedded
MIME type. Is passed three parameters: the
current driver object, the MIME part object, and
the MIME type to use.
|
_getViewer()
protected method
Return the underlying MIME Viewer for this part.