PHP 클래스 Horde_Mime_Viewer, horde

Copyright 1999-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.
저자: Anil Madhavapeddy ([email protected])
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
factory ( string $driver, Horde_Mime_Part $part, array $params = [] ) : Horde_Mime_Viewer_Base Attempts to return a concrete Horde_Mime_Viewer_Base instance based on $driver.

메소드 상세

factory() 공개 정적인 메소드

Attempts to return a concrete Horde_Mime_Viewer_Base instance based on $driver.
사용 중단:
public static factory ( string $driver, Horde_Mime_Part $part, array $params = [] ) : Horde_Mime_Viewer_Base
$driver string Either a driver name, or the full class name to use (class must extend Horde_Mime_Viewer_Base).
$part Horde_Mime_Part The MIME part object to display.
$params array A hash containing any additional configuration or parameters a subclass might need.
리턴 Horde_Mime_Viewer_Base The newly created concrete instance.