PHP Class Horde_Compress_Base, horde

Copyright 2011-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.
Author: Michael Slusarz ([email protected])
Mostra file Open project: horde/horde

Public Properties

Property Type Description
$canCompress boolean Does this driver support compressing data?
$canDecompress boolean Does this driver support decompressing data?

Protected Properties

Property Type Description
$_logger Horde_Log_Logger Logger

Public Methods

Method Description
__construct ( $options = [] )
compress ( mixed $data, array $params = [] ) : mixed Compress the data.
decompress ( mixed $data, array $params = [] ) : mixed Decompress the data.

Method Details

__construct() public method

public __construct ( $options = [] )

compress() public method

Compress the data.
public compress ( mixed $data, array $params = [] ) : mixed
$data mixed The data to compress.
$params array An array of arguments needed to compress the data.
return mixed The compressed data.

decompress() public method

Decompress the data.
public decompress ( mixed $data, array $params = [] ) : mixed
$data mixed The data to decompress.
$params array An array of arguments needed to decompress the data.
return mixed The decompressed data.

Property Details

$_logger protected_oe property

Logger
protected Horde_Log_Logger $_logger
return Horde_Log_Logger

$canCompress public_oe property

Does this driver support compressing data?
public bool $canCompress
return boolean

$canDecompress public_oe property

Does this driver support decompressing data?
public bool $canDecompress
return boolean