PHP Class 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.
Mostrar archivo
Open project: horde/horde
Class Usage Examples
Public Methods
Method |
Description |
|
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. |
|
Method Details
factory()
public static method
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. |
return |
Horde_Mime_Viewer_Base |
The newly created concrete instance. |