|
ILIAS
eassessment Revision 61809
|
Collaboration diagram for PclZip:Public Member Functions | |
| PclZip ($p_zipname) | |
| create ($p_filelist) | |
| add ($p_filelist) | |
| listContent () | |
| extract () | |
| extractByIndex ($p_index) | |
| delete () | |
| deleteByIndex ($p_index) | |
| properties () | |
| duplicate ($p_archive) | |
| merge ($p_archive_to_add) | |
| errorCode () | |
| errorName ($p_with_code=false) | |
| errorInfo ($p_full=false) | |
| privCheckFormat ($p_level=0) | |
| privParseOptions (&$p_options_list, $p_size, &$v_result_list, $v_requested_options=false) | |
| privOptionDefaultThreshold (&$p_options) | |
| privFileDescrParseAtt (&$p_file_list, &$p_filedescr, $v_options, $v_requested_options=false) | |
| privFileDescrExpand (&$p_filedescr_list, &$p_options) | |
| privCreate ($p_filedescr_list, &$p_result_list, &$p_options) | |
| privAdd ($p_filedescr_list, &$p_result_list, &$p_options) | |
| privOpenFd ($p_mode) | |
| privCloseFd () | |
| privAddList ($p_filedescr_list, &$p_result_list, &$p_options) | |
| privAddFileList ($p_filedescr_list, &$p_result_list, &$p_options) | |
| privAddFile ($p_filedescr, &$p_header, &$p_options) | |
| privAddFileUsingTempFile ($p_filedescr, &$p_header, &$p_options) | |
| privCalculateStoredFilename (&$p_filedescr, &$p_options) | |
| privWriteFileHeader (&$p_header) | |
| privWriteCentralFileHeader (&$p_header) | |
| privWriteCentralHeader ($p_nb_entries, $p_size, $p_offset, $p_comment) | |
| privList (&$p_list) | |
| privConvertHeader2FileInfo ($p_header, &$p_info) | |
| privExtractByRule (&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) | |
| privExtractFile (&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) | |
| privExtractFileUsingTempFile (&$p_entry, &$p_options) | |
| privExtractFileInOutput (&$p_entry, &$p_options) | |
| privExtractFileAsString (&$p_entry, &$p_string, &$p_options) | |
| privReadFileHeader (&$p_header) | |
| privReadCentralFileHeader (&$p_header) | |
| privCheckFileHeaders (&$p_local_header, &$p_central_header) | |
| privReadEndCentralDir (&$p_central_dir) | |
| privDeleteByRule (&$p_result_list, &$p_options) | |
| privDirCheck ($p_dir, $p_is_dir=false) | |
| privMerge (&$p_archive_to_add) | |
| privDuplicate ($p_archive_filename) | |
| privErrorLog ($p_error_code=0, $p_error_string='') | |
| privErrorReset () | |
| privDisableMagicQuotes () | |
| privSwapBackMagicQuotes () | |
Data Fields | |
| $zipname = '' | |
| $zip_fd = 0 | |
| $error_code = 1 | |
| $error_string = '' | |
| $magic_quotes_status | |
Definition at line 190 of file pclzip.lib.php.
| PclZip::add | ( | $p_filelist | ) |
Definition at line 454 of file pclzip.lib.php.
References PCLZIP_ATT_FILE_COMMENT, PCLZIP_ATT_FILE_CONTENT, PCLZIP_ATT_FILE_MTIME, PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_CB_POST_ADD, PCLZIP_CB_PRE_ADD, PCLZIP_ERR_INVALID_PARAMETER, PCLZIP_OPT_ADD_COMMENT, PCLZIP_OPT_ADD_PATH, PCLZIP_OPT_COMMENT, PCLZIP_OPT_NO_COMPRESSION, PCLZIP_OPT_PREPEND_COMMENT, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_REMOVE_PATH, PCLZIP_OPT_TEMP_FILE_OFF, PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_THRESHOLD, privAdd(), privErrorLog(), privErrorReset(), privFileDescrExpand(), privFileDescrParseAtt(), privOptionDefaultThreshold(), and privParseOptions().
Here is the call graph for this function:| PclZip::create | ( | $p_filelist | ) |
Definition at line 271 of file pclzip.lib.php.
References PCLZIP_ATT_FILE_COMMENT, PCLZIP_ATT_FILE_CONTENT, PCLZIP_ATT_FILE_MTIME, PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_CB_POST_ADD, PCLZIP_CB_PRE_ADD, PCLZIP_ERR_INVALID_PARAMETER, PCLZIP_OPT_ADD_PATH, PCLZIP_OPT_COMMENT, PCLZIP_OPT_NO_COMPRESSION, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_REMOVE_PATH, PCLZIP_OPT_TEMP_FILE_OFF, PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_THRESHOLD, privCreate(), privErrorLog(), privErrorReset(), privFileDescrExpand(), privFileDescrParseAtt(), privOptionDefaultThreshold(), and privParseOptions().
Here is the call graph for this function:| PclZip::delete | ( | ) |
Definition at line 1006 of file pclzip.lib.php.
References PCLZIP_OPT_BY_EREG, PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_PREG, privCheckFormat(), privDeleteByRule(), privDisableMagicQuotes(), privErrorReset(), privParseOptions(), and privSwapBackMagicQuotes().
Here is the call graph for this function:| PclZip::deleteByIndex | ( | $p_index | ) |
Definition at line 1065 of file pclzip.lib.php.
References PCLZIP_OPT_BY_INDEX.
| PclZip::duplicate | ( | $p_archive | ) |
Definition at line 1162 of file pclzip.lib.php.
| PclZip::errorCode | ( | ) |
Definition at line 1272 of file pclzip.lib.php.
Referenced by privDeleteByRule(), and privDirCheck().
Here is the caller graph for this function:| PclZip::errorInfo | ( | $p_full = false | ) |
Definition at line 1334 of file pclzip.lib.php.
| PclZip::errorName | ( | $p_with_code = false | ) |
Definition at line 1288 of file pclzip.lib.php.
| PclZip::extract | ( | ) |
Definition at line 700 of file pclzip.lib.php.
References PCLZIP_CB_POST_EXTRACT, PCLZIP_CB_PRE_EXTRACT, PCLZIP_ERR_INVALID_PARAMETER, PCLZIP_OPT_ADD_PATH, PCLZIP_OPT_BY_EREG, PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_PREG, PCLZIP_OPT_EXTRACT_AS_STRING, PCLZIP_OPT_EXTRACT_DIR_RESTRICTION, PCLZIP_OPT_EXTRACT_IN_OUTPUT, PCLZIP_OPT_PATH, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_REMOVE_PATH, PCLZIP_OPT_REPLACE_NEWER, PCLZIP_OPT_SET_CHMOD, PCLZIP_OPT_STOP_ON_ERROR, PCLZIP_OPT_TEMP_FILE_OFF, PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_THRESHOLD, privCheckFormat(), privErrorLog(), privErrorReset(), privExtractByRule(), privOptionDefaultThreshold(), and privParseOptions().
Here is the call graph for this function:| PclZip::extractByIndex | ( | $p_index | ) |
Definition at line 857 of file pclzip.lib.php.
References PCLZIP_CB_POST_EXTRACT, PCLZIP_CB_PRE_EXTRACT, PCLZIP_ERR_INVALID_PARAMETER, PCLZIP_OPT_ADD_PATH, PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_EXTRACT_AS_STRING, PCLZIP_OPT_EXTRACT_DIR_RESTRICTION, PCLZIP_OPT_PATH, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_REMOVE_PATH, PCLZIP_OPT_REPLACE_NEWER, PCLZIP_OPT_SET_CHMOD, PCLZIP_OPT_STOP_ON_ERROR, PCLZIP_OPT_TEMP_FILE_OFF, PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_THRESHOLD, privCheckFormat(), privErrorLog(), privErrorReset(), privExtractByRule(), privOptionDefaultThreshold(), and privParseOptions().
Here is the call graph for this function:| PclZip::listContent | ( | ) |
Definition at line 643 of file pclzip.lib.php.
References privCheckFormat(), privErrorReset(), and privList().
Here is the call graph for this function:| PclZip::merge | ( | $p_archive_to_add | ) |
Definition at line 1221 of file pclzip.lib.php.
| PclZip::PclZip | ( | $p_zipname | ) |
Definition at line 215 of file pclzip.lib.php.
Referenced by privDeleteByRule().
Here is the caller graph for this function:| PclZip::privAdd | ( | $p_filedescr_list, | |
| & | $p_result_list, | ||
| & | $p_options | ||
| ) |
Definition at line 2159 of file pclzip.lib.php.
Referenced by add().
Here is the caller graph for this function:| PclZip::privAddFile | ( | $p_filedescr, | |
| & | $p_header, | ||
| & | $p_options | ||
| ) |
Definition at line 2525 of file pclzip.lib.php.
| PclZip::privAddFileList | ( | $p_filedescr_list, | |
| & | $p_result_list, | ||
| & | $p_options | ||
| ) |
Definition at line 2463 of file pclzip.lib.php.
| PclZip::privAddFileUsingTempFile | ( | $p_filedescr, | |
| & | $p_header, | ||
| & | $p_options | ||
| ) |
Definition at line 2798 of file pclzip.lib.php.
| PclZip::privAddList | ( | $p_filedescr_list, | |
| & | $p_result_list, | ||
| & | $p_options | ||
| ) |
Definition at line 2399 of file pclzip.lib.php.
| PclZip::privCalculateStoredFilename | ( | & | $p_filedescr, |
| & | $p_options | ||
| ) |
Definition at line 2910 of file pclzip.lib.php.
| PclZip::privCheckFileHeaders | ( | & | $p_local_header, |
| & | $p_central_header | ||
| ) |
Definition at line 4488 of file pclzip.lib.php.
Referenced by privDeleteByRule().
Here is the caller graph for this function:| PclZip::privCheckFormat | ( | $p_level = 0 | ) |
Definition at line 1373 of file pclzip.lib.php.
Referenced by delete(), extract(), extractByIndex(), listContent(), and properties().
Here is the caller graph for this function:| PclZip::privCloseFd | ( | ) |
Definition at line 2372 of file pclzip.lib.php.
Referenced by privDeleteByRule(), and privMerge().
Here is the caller graph for this function:| PclZip::privConvertHeader2FileInfo | ( | $p_header, | |
| & | $p_info | ||
| ) |
Definition at line 3236 of file pclzip.lib.php.
| PclZip::privCreate | ( | $p_filedescr_list, | |
| & | $p_result_list, | ||
| & | $p_options | ||
| ) |
Definition at line 2124 of file pclzip.lib.php.
Referenced by create().
Here is the caller graph for this function:| PclZip::privDeleteByRule | ( | & | $p_result_list, |
| & | $p_options | ||
| ) |
Definition at line 4682 of file pclzip.lib.php.
References errorCode(), PclZip(), PCLZIP_ERR_INVALID_ARCHIVE_ZIP, PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_PREG, PCLZIP_OPT_COMMENT, PclZipUtilCopyBlock(), PclZipUtilRename(), privCheckFileHeaders(), privCloseFd(), privErrorLog(), privOpenFd(), privReadCentralFileHeader(), privReadEndCentralDir(), privReadFileHeader(), and privWriteCentralHeader().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| PclZip::privDirCheck | ( | $p_dir, | |
$p_is_dir = false |
|||
| ) |
Definition at line 4992 of file pclzip.lib.php.
References errorCode(), PCLZIP_ERR_DIR_CREATE_FAIL, and privErrorLog().
Here is the call graph for this function:| PclZip::privDisableMagicQuotes | ( | ) |
Definition at line 5327 of file pclzip.lib.php.
Referenced by delete(), and properties().
Here is the caller graph for this function:| PclZip::privDuplicate | ( | $p_archive_filename | ) |
Definition at line 5232 of file pclzip.lib.php.
Referenced by privMerge().
Here is the caller graph for this function:| PclZip::privErrorLog | ( | $p_error_code = 0, |
|
$p_error_string = '' |
|||
| ) |
Definition at line 5292 of file pclzip.lib.php.
Referenced by add(), create(), extract(), extractByIndex(), privDeleteByRule(), privDirCheck(), privMerge(), and properties().
Here is the caller graph for this function:| PclZip::privErrorReset | ( | ) |
Definition at line 5309 of file pclzip.lib.php.
Referenced by add(), create(), delete(), extract(), extractByIndex(), listContent(), and properties().
Here is the caller graph for this function:| PclZip::privExtractByRule | ( | & | $p_file_list, |
| $p_path, | |||
| $p_remove_path, | |||
| $p_remove_all_path, | |||
| & | $p_options | ||
| ) |
Definition at line 3275 of file pclzip.lib.php.
Referenced by extract(), and extractByIndex().
Here is the caller graph for this function:| PclZip::privExtractFile | ( | & | $p_entry, |
| $p_path, | |||
| $p_remove_path, | |||
| $p_remove_all_path, | |||
| & | $p_options | ||
| ) |
Definition at line 3615 of file pclzip.lib.php.
| PclZip::privExtractFileAsString | ( | & | $p_entry, |
| & | $p_string, | ||
| & | $p_options | ||
| ) |
Definition at line 4154 of file pclzip.lib.php.
| PclZip::privExtractFileInOutput | ( | & | $p_entry, |
| & | $p_options | ||
| ) |
Definition at line 4042 of file pclzip.lib.php.
| PclZip::privExtractFileUsingTempFile | ( | & | $p_entry, |
| & | $p_options | ||
| ) |
Definition at line 3966 of file pclzip.lib.php.
| PclZip::privFileDescrExpand | ( | & | $p_filedescr_list, |
| & | $p_options | ||
| ) |
Definition at line 1999 of file pclzip.lib.php.
Referenced by add(), and create().
Here is the caller graph for this function:| PclZip::privFileDescrParseAtt | ( | & | $p_file_list, |
| & | $p_filedescr, | ||
| $v_options, | |||
$v_requested_options = false |
|||
| ) |
Definition at line 1870 of file pclzip.lib.php.
Referenced by add(), and create().
Here is the caller graph for this function:| PclZip::privList | ( | & | $p_list | ) |
Definition at line 3149 of file pclzip.lib.php.
Referenced by listContent().
Here is the caller graph for this function:| PclZip::privMerge | ( | & | $p_archive_to_add | ) |
Definition at line 5047 of file pclzip.lib.php.
References PCLZIP_ERR_READ_OPEN_FAIL, privCloseFd(), privDuplicate(), privErrorLog(), privOpenFd(), and privReadEndCentralDir().
Here is the call graph for this function:| PclZip::privOpenFd | ( | $p_mode | ) |
Definition at line 2338 of file pclzip.lib.php.
Referenced by privDeleteByRule(), and privMerge().
Here is the caller graph for this function:| PclZip::privOptionDefaultThreshold | ( | & | $p_options | ) |
Definition at line 1826 of file pclzip.lib.php.
Referenced by add(), create(), extract(), and extractByIndex().
Here is the caller graph for this function:| PclZip::privParseOptions | ( | & | $p_options_list, |
| $p_size, | |||
| & | $v_result_list, | ||
$v_requested_options = false |
|||
| ) |
Definition at line 1426 of file pclzip.lib.php.
Referenced by add(), create(), delete(), extract(), and extractByIndex().
Here is the caller graph for this function:| PclZip::privReadCentralFileHeader | ( | & | $p_header | ) |
Definition at line 4380 of file pclzip.lib.php.
Referenced by privDeleteByRule().
Here is the caller graph for this function:| PclZip::privReadEndCentralDir | ( | & | $p_central_dir | ) |
Definition at line 4525 of file pclzip.lib.php.
Referenced by privDeleteByRule(), and privMerge().
Here is the caller graph for this function:| PclZip::privReadFileHeader | ( | & | $p_header | ) |
Definition at line 4277 of file pclzip.lib.php.
Referenced by privDeleteByRule().
Here is the caller graph for this function:| PclZip::privSwapBackMagicQuotes | ( | ) |
Definition at line 5361 of file pclzip.lib.php.
Referenced by delete(), and properties().
Here is the caller graph for this function:| PclZip::privWriteCentralFileHeader | ( | & | $p_header | ) |
Definition at line 3067 of file pclzip.lib.php.
| PclZip::privWriteCentralHeader | ( | $p_nb_entries, | |
| $p_size, | |||
| $p_offset, | |||
| $p_comment | |||
| ) |
Definition at line 3120 of file pclzip.lib.php.
Referenced by privDeleteByRule().
Here is the caller graph for this function:| PclZip::privWriteFileHeader | ( | & | $p_header | ) |
Definition at line 3022 of file pclzip.lib.php.
| PclZip::properties | ( | ) |
Definition at line 1089 of file pclzip.lib.php.
References PCLZIP_ERR_READ_OPEN_FAIL, privCheckFormat(), privDisableMagicQuotes(), privErrorLog(), privErrorReset(), and privSwapBackMagicQuotes().
Here is the call graph for this function:| PclZip::$error_code = 1 |
Definition at line 199 of file pclzip.lib.php.
| PclZip::$error_string = '' |
Definition at line 200 of file pclzip.lib.php.
| PclZip::$magic_quotes_status |
Definition at line 205 of file pclzip.lib.php.
| PclZip::$zip_fd = 0 |
Definition at line 196 of file pclzip.lib.php.
| PclZip::$zipname = '' |
Definition at line 193 of file pclzip.lib.php.