Documentation

ZlibDriver extends BaseDriver
in package

Supports using the zlib extension for compression.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

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

since
1.1.0

Table of Contents

compress()  : string
Compresses a string.
decompress()  : string
Decompresses a string.
supported()  : bool
Is this driver supported on this system?

Methods

compress()

Compresses a string.

public compress(string $text) : string
Parameters
$text : string

The string to compress.

Tags
inheritDoc
Return values
string

The compressed string.

decompress()

Decompresses a string.

public decompress(string $text) : string
Parameters
$text : string

The compressed string.

Tags
inheritDoc
Return values
string

The decompressed string.

supported()

Is this driver supported on this system?

public static supported() : bool
Tags
inheritDoc
Return values
bool

True if supported.

Search results