PHP Класс Horde_Mime_Viewer_Security, 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.
Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Mime_Viewer_Base
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Horde_Mime_Part $part, array $conf = [] ) Constructor.

Защищенные методы

Метод Описание
_getViewer ( ) : mixed Return the underlying MIME Viewer for this part.

Описание методов

__construct() публичный Метод

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() защищенный Метод

Return the underlying MIME Viewer for this part.
protected _getViewer ( ) : mixed
Результат mixed A Horde_Mime_Viewer object, or false if not found.