PHP Class Horde_Compress, horde

Author: Michael Slusarz ([email protected])
Show file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
factory ( string $driver, array $params = null ) : Horde_Compress_Base Attempts to return a concrete Horde_Compress_Base instance based on $driver.

Method Details

factory() public static method

Attempts to return a concrete Horde_Compress_Base instance based on $driver.
public static factory ( string $driver, array $params = null ) : Horde_Compress_Base
$driver string Either a driver name, or the full class name to use (class must extend Horde_Compress_Base).
$params array Hash containing any additional configuration or parameters a subclass needs.
return Horde_Compress_Base The newly created concrete instance.