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.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Mostra 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

Constructor.
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.
protected _getViewer ( ) : mixed
return mixed A Horde_Mime_Viewer object, or false if not found.