Class Rar

Summary

Fully Qualified Name: Zend\Filter\Compress\Rar
Extends: AbstractCompressionAlgorithm

Description

Compression adapter for Rar

Methods

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

Method Details

__construct()

Class constructor

Parameter Name Type Description
$options array (Optional)

Returns:

compress()

Compresses the given content

Parameter Name Type Description
$content string|array

Returns: string

decompress()

Decompresses the given content

Parameter Name Type Description
$content string

Returns: bool

getArchive()

Returns the set archive

Returns: string

getCallback()

Returns the set callback for compression

Returns: string

getOptions()

Returns one or all set options

Parameter Name Type Description
$option string (Optional)

Returns: mixed

getPassword()

Returns the set password

Returns: string

getTarget()

Returns the set targetpath

Returns: string

setArchive()

Sets the archive to use for de-/compression

Parameter Name Type Description
$archive string Archive

Returns: self

setCallback()

Sets the callback to use

Parameter Name Type Description
$callback string

Returns: self

setOptions()

Sets all or one option

Parameter Name Type Description
$options array

Returns: self

setPassword()

Sets the password to use

Parameter Name Type Description
$password string

Returns: self

setTarget()

Sets the targetpath to use

Parameter Name Type Description
$target string

Returns: self

toString()

Returns the adapter name

Returns: string

Top