Property | Type | Description | |
---|---|---|---|
$_compress | Horde_Compress_Fast_Base | Compression driver |
Method | Description | |
---|---|---|
__construct ( array $opts = [] ) | Constructor. | |
__get ( $name ) | ||
compress ( string $text ) : string | Compresses a string. | |
decompress ( string $text ) : string | Decompresses a string. |
public __construct ( array $opts = [] ) | ||
$opts | array | Options:
- drivers: (array) A list of driver names (Horde_Compress_Fast_Base class names) to use instead of auto-detecting. - zlib: (boolean) Consider zlib to be a "fast" compression algorithm. Only used if 'drivers' is empty. (@since 1.1.0). |
public decompress ( string $text ) : string | ||
$text | string | The compressed string. |
return | string | The decompressed string. |