Свойство | Тип | Описание | |
---|---|---|---|
$aCallbacks | |||
$aOptions | |||
$sDestination | |||
$sSource |
Метод | Описание | |
---|---|---|
__construct ( $sSource, $sDestination, $abOptions = false, array $aCallbacks = [] ) | ||
_replyToCompressDirectory ( ZipArchive $oZip, $sSourceDirPath, array $aCallbacks = [], $bIncludeDir = false, array $aAdditionalSourceDirs = [] ) | ||
_replyToCompressFile ( ZipArchive $oZip, $sSourceFilePath, $aCallbacks = null ) | ||
_replyToReturnFalse ( ) | ||
compress ( ) |
Метод | Описание | |
---|---|---|
_addArchiveItem ( ZipArchive $oZip, $sSource, $_sIterationItem, array $aCallbacks, $sInsidePathPrefix = '' ) | ||
_addArchiveItems ( $oZip, $aSourceDirPaths, $aCallbacks, $sRootDirName = '' ) | ||
_addEmptyDir ( ZipArchive $oZip, $sInsidePath, $oCallable ) | ||
_addFromString ( ZipArchive $oZip, $sInsidePath, $sSourceContents = '', array $aCallbacks = [] ) | ||
_addRelativeDir ( $oZip, $sRelativeDirPath, $oCallable ) | ||
_getFilteredArchivePath ( $sArchivePath, $oCallable ) | ||
_getFormattedOptions ( $abOptions ) | ||
_getMainDirectoryName ( $sSource ) | ||
_getSanitizedSourcePath ( $sPath ) | ||
_getSourceType ( $sSource ) | ||
isFeasible ( $sSource ) |
public __construct ( $sSource, $sDestination, $abOptions = false, array $aCallbacks = [] ) | ||
$aCallbacks | array |
public _replyToCompressDirectory ( ZipArchive $oZip, $sSourceDirPath, array $aCallbacks = [], $bIncludeDir = false, array $aAdditionalSourceDirs = [] ) | ||
$oZip | ZipArchive | |
$aCallbacks | array | |
$aAdditionalSourceDirs | array |
public _replyToCompressFile ( ZipArchive $oZip, $sSourceFilePath, $aCallbacks = null ) | ||
$oZip | ZipArchive |