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])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.