Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($options=null) | |
getArchive () | |
setArchive ($archive) | |
getTarget () | |
setTarget ($target) | |
getMode () | |
setMode ($mode) | |
compress ($content) | |
decompress ($content) | |
toString () | |
![]() | |
__construct ($options=null) | |
getOptions ($option=null) | |
setOptions (array $options) | |
Protected Attributes | |
$_options | |
__construct | ( | $options = null | ) |
Class constructor
array | $options | (Optional) Options to set |
Definition at line 57 of file Tar.php.
compress | ( | $content | ) |
Compresses the given content
string | $content |
Implements Zend_Filter_Compress_CompressInterface.
Definition at line 163 of file Tar.php.
decompress | ( | $content | ) |
Decompresses the given content
string | $content |
Implements Zend_Filter_Compress_CompressInterface.
Definition at line 211 of file Tar.php.
getArchive | ( | ) |
getMode | ( | ) |
getTarget | ( | ) |
setArchive | ( | $archive | ) |
Sets the archive to use for de-/compression
string | $archive | Archive to use |
setMode | ( | $mode | ) |
Compression mode to use Eighter Gz or Bz2
string | $mode |
Definition at line 138 of file Tar.php.
setTarget | ( | $target | ) |
Sets the targetpath to use
string | $target |
Definition at line 112 of file Tar.php.
toString | ( | ) |
|
protected |