\Horde_Compress

This class provides an API for various compression techniques that can be used by Horde applications.

Summary

Methods
Properties
Constants
factory()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

factory()

factory(string  $driver, array  $params = null) : \Horde_Compress_Base

Attempts to return a concrete Horde_Compress_Base instance based on $driver.

Parameters

string $driver

Either a driver name, or the full class name to use (class must extend Horde_Compress_Base).

array $params

Hash containing any additional configuration or parameters a subclass needs.

Throws

\Horde_Compress_Exception

Returns

\Horde_Compress_Base

The newly created concrete instance.