Documentation

Horde_Compress
in package

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

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2003-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

factory()  : Horde_Compress_Base
Attempts to return a concrete Horde_Compress_Base instance based on $driver.

Methods

factory()

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

public static factory(string $driver[, array<string|int, mixed> $params = null ]) : Horde_Compress_Base
Parameters
$driver : string

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

$params : array<string|int, mixed> = null

Hash containing any additional configuration or parameters a subclass needs.

Tags
throws
Horde_Compress_Exception
Return values
Horde_Compress_Base

The newly created concrete instance.

Search results