Fully Qualified Name: | Laminas\Filter\Compress\Rar |
Extends: | AbstractCompressionAlgorithm |
Compression adapter for Rar
Name | Description | Defined By |
---|---|---|
__construct() | Class constructor | Rar |
compress() | Compresses the given content | Rar |
decompress() | Decompresses the given content | Rar |
getArchive() | Returns the set archive | Rar |
getCallback() | Returns the set callback for compression | Rar |
getOptions() | Returns one or all set options | AbstractCompressionAlgorithm |
getPassword() | Returns the set password | Rar |
getTarget() | Returns the set targetpath | Rar |
setArchive() | Sets the archive to use for de-/compression | Rar |
setCallback() | Sets the callback to use | Rar |
setOptions() | Sets all or one option | AbstractCompressionAlgorithm |
setPassword() | Sets the password to use | Rar |
setTarget() | Sets the targetpath to use | Rar |
toString() | Returns the adapter name | Rar |
Class constructor
Parameter Name | Type | Description |
---|---|---|
$options | array | (Optional) |
Returns:
Compresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string|array |
Returns: string
Decompresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string |
Returns: bool
Returns the set archive
Returns: string
Returns the set callback for compression
Returns: string
Returns one or all set options
Parameter Name | Type | Description |
---|---|---|
$option | string|null | Option |
Returns: mixed
Returns the set password
Returns: string
Returns the set targetpath
Returns: string
Sets the archive to use for de-/compression
Parameter Name | Type | Description |
---|---|---|
$archive | string | Archive |
Returns: self
Sets the callback to use
Parameter Name | Type | Description |
---|---|---|
$callback | string |
Returns: self
Sets all or one option
Parameter Name | Type | Description |
---|---|---|
$options | array |
Returns: self
Sets the password to use
Parameter Name | Type | Description |
---|---|---|
$password | string |
Returns: self
Sets the targetpath to use
Parameter Name | Type | Description |
---|---|---|
$target | string |
Returns: self
Returns the adapter name
Returns: string