Class: PclZip
Source Location: /lib-pclzip.php
Class PclZip
Methods
PclZip PclZip(
$p_zipname
)
|
|
Parameters:
void create(
$p_filelist
)
|
|
Parameters:
void deleteByIndex(
$p_index
)
|
|
Parameters:
void duplicate(
$p_archive
)
|
|
Parameters:
void errorInfo(
[
$p_full = false]
)
|
|
Parameters:
void errorName(
[
$p_with_code = false]
)
|
|
Parameters:
void extractByIndex(
$p_index
)
|
|
Parameters:
void merge(
$p_archive_to_add
)
|
|
Parameters:
void privAdd(
$p_filedescr_list,
&$p_result_list,
&$p_options
)
|
|
Parameters:
|
$p_filedescr_list: |
|
|
&$p_result_list: |
|
|
&$p_options: |
|
void privAddFile(
$p_filedescr,
&$p_header,
&$p_options
)
|
|
Parameters:
|
$p_filedescr: |
|
|
&$p_header: |
|
|
&$p_options: |
|
void privAddFileList(
$p_filedescr_list,
&$p_result_list,
&$p_options
)
|
|
Parameters:
|
$p_filedescr_list: |
|
|
&$p_result_list: |
|
|
&$p_options: |
|
void privAddFileUsingTempFile(
$p_filedescr,
&$p_header,
&$p_options
)
|
|
Parameters:
|
$p_filedescr: |
|
|
&$p_header: |
|
|
&$p_options: |
|
void privAddList(
$p_filedescr_list,
&$p_result_list,
&$p_options
)
|
|
Parameters:
|
$p_filedescr_list: |
|
|
&$p_result_list: |
|
|
&$p_options: |
|
void privCalculateStoredFilename(
&$p_filedescr,
&$p_options
)
|
|
Parameters:
|
&$p_filedescr: |
|
|
&$p_options: |
|
void privCheckFileHeaders(
&$p_local_header,
&$p_central_header
)
|
|
Parameters:
|
&$p_local_header: |
|
|
&$p_central_header: |
|
void privCheckFormat(
[
$p_level = 0]
)
|
|
Parameters:
void privConvertHeader2FileInfo(
$p_header,
&$p_info
)
|
|
Parameters:
void privCreate(
$p_filedescr_list,
&$p_result_list,
&$p_options
)
|
|
Parameters:
|
$p_filedescr_list: |
|
|
&$p_result_list: |
|
|
&$p_options: |
|
void privDeleteByRule(
&$p_result_list,
&$p_options
)
|
|
Parameters:
|
&$p_result_list: |
|
|
&$p_options: |
|
void privDirCheck(
$p_dir, [
$p_is_dir = false]
)
|
|
Parameters:
void privDisableMagicQuotes(
)
|
|
void privDuplicate(
$p_archive_filename
)
|
|
Parameters:
void privErrorLog(
[
$p_error_code = 0], [
$p_error_string = '']
)
|
|
Parameters:
|
$p_error_code: |
|
|
$p_error_string: |
|
void privExtractByRule(
&$p_file_list,
$p_path,
$p_remove_path,
$p_remove_all_path,
&$p_options
)
|
|
Parameters:
|
&$p_file_list: |
|
|
$p_path: |
|
|
$p_remove_path: |
|
|
$p_remove_all_path: |
|
|
&$p_options: |
|
void privExtractFile(
&$p_entry,
$p_path,
$p_remove_path,
$p_remove_all_path,
&$p_options
)
|
|
Parameters:
|
&$p_entry: |
|
|
$p_path: |
|
|
$p_remove_path: |
|
|
$p_remove_all_path: |
|
|
&$p_options: |
|
void privExtractFileAsString(
&$p_entry,
&$p_string,
&$p_options
)
|
|
Parameters:
|
&$p_entry: |
|
|
&$p_string: |
|
|
&$p_options: |
|
void privExtractFileInOutput(
&$p_entry,
&$p_options
)
|
|
Parameters:
void privExtractFileUsingTempFile(
&$p_entry,
&$p_options
)
|
|
Parameters:
void privFileDescrExpand(
&$p_filedescr_list,
&$p_options
)
|
|
Parameters:
|
&$p_filedescr_list: |
|
|
&$p_options: |
|
void privFileDescrParseAtt(
&$p_file_list,
&$p_filedescr,
$v_options, [
$v_requested_options = false]
)
|
|
Parameters:
|
&$p_file_list: |
|
|
&$p_filedescr: |
|
|
$v_options: |
|
|
$v_requested_options: |
|
void privList(
&$p_list
)
|
|
Parameters:
void privMerge(
&$p_archive_to_add
)
|
|
Parameters:
void privOpenFd(
$p_mode
)
|
|
Parameters:
void privOptionDefaultThreshold(
&$p_options
)
|
|
Parameters:
void privParseOptions(
&$p_options_list,
$p_size,
&$v_result_list, [
$v_requested_options = false]
)
|
|
Parameters:
|
&$p_options_list: |
|
|
$p_size: |
|
|
&$v_result_list: |
|
|
$v_requested_options: |
|
void privReadCentralFileHeader(
&$p_header
)
|
|
Parameters:
void privReadEndCentralDir(
&$p_central_dir
)
|
|
Parameters:
void privReadFileHeader(
&$p_header
)
|
|
Parameters:
void privSwapBackMagicQuotes(
)
|
|
void privWriteCentralFileHeader(
&$p_header
)
|
|
Parameters:
void privWriteCentralHeader(
$p_nb_entries,
$p_size,
$p_offset,
$p_comment
)
|
|
Parameters:
|
$p_nb_entries: |
|
|
$p_size: |
|
|
$p_offset: |
|
|
$p_comment: |
|
void privWriteFileHeader(
&$p_header
)
|
|
Parameters:
|
|