Fully Qualified Name: | Zend\Filter\Compress\Bz2 |
Extends: | AbstractCompressionAlgorithm |
Compression adapter for Bz2
Name | Description | Defined By |
---|---|---|
__construct() | Class constructor | Bz2 |
compress() | Compresses the given content | Bz2 |
decompress() | Decompresses the given content | Bz2 |
getArchive() | Returns the set archive | Bz2 |
getBlocksize() | Returns the set blocksize | Bz2 |
getOptions() | Returns one or all set options | AbstractCompressionAlgorithm |
setArchive() | Sets the archive to use for de-/compression | Bz2 |
setBlocksize() | Sets a new blocksize | Bz2 |
setOptions() | Sets all or one option | AbstractCompressionAlgorithm |
toString() | Returns the adapter name | Bz2 |
Class constructor
Parameter Name | Type | Description |
---|---|---|
$options | null|array|\Traversable | (Optional) |
Returns:
Compresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string |
Returns: string
Decompresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string |
Returns: string
Returns the set archive
Returns: string
Returns the set blocksize
Returns: int
Returns one or all set options
Parameter Name | Type | Description |
---|---|---|
$option | string | (Optional) |
Returns: mixed
Sets the archive to use for de-/compression
Parameter Name | Type | Description |
---|---|---|
$archive | string | Archive |
Returns: self
Sets a new blocksize
Parameter Name | Type | Description |
---|---|---|
$blocksize | int |
Returns: self
Sets all or one option
Parameter Name | Type | Description |
---|---|---|
$options | array |
Returns: self
Returns the adapter name
Returns: string