Dotclear 2.26
|
Public Member Functions | |
__construct ($file_name) | |
__destruct () | |
close () | |
getList ($stop_on_file=false, $exclude=false) | |
unzipAll ($target) | |
unzip ($file_name, $target=false) | |
getFilesList () | |
getDirsList () | |
getRootDir () | |
isEmpty () | |
hasFile ($f) | |
setExcludePattern ($pattern) | |
Protected Member Functions | |
fp () | |
isFileExcluded ($f) | |
putContent ($content, $target=false) | |
testTargetDir ($dir) | |
uncompress ($content, $mode, $size, $target=false) | |
loadFileListByEOF ($stop_on_file=false, $exclude=false) | |
loadFileListBySignatures ($stop_on_file=false, $exclude=false) | |
getFileHeaderInformation ($start_offset=false) | |
getTimeStamp ($date, $time) | |
cleanFileName ($n) | |
memoryAllocate ($size) | |
Protected Attributes | |
$file_name | |
$compressed_list = [] | |
$eo_central = [] | |
$zip_sig = "\x50\x4b\x03\x04" | |
$dir_sig = "\x50\x4b\x01\x02" | |
$dir_sig_e = "\x50\x4b\x05\x06" | |
$fp = null | |
$memory_limit = null | |
$exclude_pattern = '' | |
__construct | ( | $file_name | ) |
References $file_name.
__destruct | ( | ) |
References close().
close | ( | ) |
References fp().
Referenced by __destruct().
getList | ( | $stop_on_file = false , |
|
$exclude = false |
|||
) |
References loadFileListByEOF(), and loadFileListBySignatures().
Referenced by getDirsList(), getFilesList(), getRootDir(), hasFile(), isEmpty(), unzip(), and unzipAll().
unzip | ( | $file_name, | |
$target = false |
|||
) |
References $file_name, fp(), getList(), isFileExcluded(), memoryAllocate(), putContent(), testTargetDir(), and uncompress().
Referenced by unzipAll().
getFilesList | ( | ) |
References getList().
Referenced by getRootDir().
getDirsList | ( | ) |
References getList().
Referenced by getRootDir().
getRootDir | ( | ) |
References getDirsList(), getFilesList(), and getList().
isEmpty | ( | ) |
References getList().
hasFile | ( | $f | ) |
References getList().
setExcludePattern | ( | $pattern | ) |
|
protected |
References fp().
Referenced by close(), fp(), getFileHeaderInformation(), loadFileListByEOF(), loadFileListBySignatures(), and unzip().
|
protected |
Referenced by unzip().
|
protected |
Referenced by uncompress(), and unzip().
|
protected |
Referenced by unzip().
|
protected |
References memoryAllocate(), and putContent().
Referenced by unzip().
|
protected |
References $fp, cleanFileName(), fp(), getFileHeaderInformation(), and getTimeStamp().
Referenced by getList().
|
protected |
References $fp, fp(), and getFileHeaderInformation().
Referenced by getList().
|
protected |
References $fp, cleanFileName(), fp(), and getTimeStamp().
Referenced by loadFileListByEOF(), and loadFileListBySignatures().
|
protected |
Referenced by getFileHeaderInformation(), and loadFileListByEOF().
|
protected |
Referenced by getFileHeaderInformation(), and loadFileListByEOF().
|
protected |
Referenced by uncompress(), and unzip().
|
protected |
Referenced by __construct(), and unzip().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by getFileHeaderInformation(), loadFileListByEOF(), and loadFileListBySignatures().
|
protected |
|
protected |