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
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__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.