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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( Horde_Mime_Part $part, array $conf = [] ) Constructor.

Méthodes protégées

Méthode Description
_getViewer ( ) : mixed Return the underlying MIME Viewer for this part.

Method Details

__construct() public méthode

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

Return the underlying MIME Viewer for this part.
protected _getViewer ( ) : mixed
Résultat mixed A Horde_Mime_Viewer object, or false if not found.