pclzip.lib.php
Table of Contents
Classes
Constants
- PCLZIP_ATT_FILE_COMMENT = 79006
- PCLZIP_ATT_FILE_CONTENT = 79005
- PCLZIP_ATT_FILE_MTIME = 79004
- PCLZIP_ATT_FILE_NAME = 79001
- PCLZIP_ATT_FILE_NEW_FULL_NAME = 79003
- PCLZIP_ATT_FILE_NEW_SHORT_NAME = 79002
- PCLZIP_CB_POST_ADD = 78004
- PCLZIP_CB_POST_EXTRACT = 78002
- PCLZIP_CB_PRE_ADD = 78003
- PCLZIP_CB_PRE_EXTRACT = 78001
- PCLZIP_ERR_ALREADY_A_DIRECTORY = -17
- PCLZIP_ERR_BAD_CHECKSUM = -13
- PCLZIP_ERR_BAD_EXTENSION = -9
- PCLZIP_ERR_BAD_EXTRACTED_FILE = -7
- PCLZIP_ERR_BAD_FORMAT = -10
- PCLZIP_ERR_DELETE_FILE_FAIL = -11
- PCLZIP_ERR_DIR_CREATE_FAIL = -8
- PCLZIP_ERR_DIRECTORY_RESTRICTION = -21
- PCLZIP_ERR_FILENAME_TOO_LONG = -5
- PCLZIP_ERR_INVALID_ARCHIVE_ZIP = -14
- PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE = -20
- PCLZIP_ERR_INVALID_OPTION_VALUE = -16
- PCLZIP_ERR_INVALID_PARAMETER = -3
- PCLZIP_ERR_INVALID_ZIP = -6
- PCLZIP_ERR_MISSING_FILE = -4
- PCLZIP_ERR_MISSING_OPTION_VALUE = -15
- PCLZIP_ERR_NO_ERROR = 0
- PCLZIP_ERR_READ_OPEN_FAIL = -2
- PCLZIP_ERR_RENAME_FILE_FAIL = -12
- PCLZIP_ERR_UNSUPPORTED_COMPRESSION = -18
- PCLZIP_ERR_UNSUPPORTED_ENCRYPTION = -19
- PCLZIP_ERR_USER_ABORTED = 2
- PCLZIP_ERR_WRITE_OPEN_FAIL = -1
- PCLZIP_ERROR_EXTERNAL = 0
- PCLZIP_OPT_ADD_COMMENT = 77013
- PCLZIP_OPT_ADD_PATH = 77002
- PCLZIP_OPT_ADD_TEMP_FILE_OFF = 77022
- PCLZIP_OPT_ADD_TEMP_FILE_ON = 77021
- PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD = 77020
- PCLZIP_OPT_BY_EREG = 77010
- PCLZIP_OPT_BY_INDEX = 77009
- PCLZIP_OPT_BY_NAME = 77008
- PCLZIP_OPT_BY_PREG = 77011
- PCLZIP_OPT_COMMENT = 77012
- PCLZIP_OPT_EXTRACT_AS_STRING = 77006
- PCLZIP_OPT_EXTRACT_DIR_RESTRICTION = 77019
- PCLZIP_OPT_EXTRACT_IN_OUTPUT = 77015
- PCLZIP_OPT_NO_COMPRESSION = 77007
- PCLZIP_OPT_PATH = 77001
- PCLZIP_OPT_PREPEND_COMMENT = 77014
- PCLZIP_OPT_REMOVE_ALL_PATH = 77004
- PCLZIP_OPT_REMOVE_PATH = 77003
- PCLZIP_OPT_REPLACE_NEWER = 77016
- PCLZIP_OPT_SET_CHMOD = 77005
- PCLZIP_OPT_STOP_ON_ERROR = 77017
- PCLZIP_OPT_TEMP_FILE_OFF = 77022
- PCLZIP_OPT_TEMP_FILE_ON = 77021
- PCLZIP_OPT_TEMP_FILE_THRESHOLD = 77020
- PCLZIP_READ_BLOCK_SIZE = 2048
- PCLZIP_SEPARATOR = ','
- PCLZIP_TEMPORARY_DIR = ''
- PCLZIP_TEMPORARY_FILE_RATIO = 0.47
Functions
- PclZipUtilPathReduction() : mixed
- PclZipUtilPathInclusion() : mixed
- PclZipUtilCopyBlock() : mixed
- PclZipUtilRename() : mixed
- PclZipUtilOptionText() : mixed
- PclZipUtilTranslateWinPath() : mixed
Constants
PCLZIP_ATT_FILE_COMMENT
public
mixed
PCLZIP_ATT_FILE_COMMENT
= 79006
PCLZIP_ATT_FILE_CONTENT
public
mixed
PCLZIP_ATT_FILE_CONTENT
= 79005
PCLZIP_ATT_FILE_MTIME
public
mixed
PCLZIP_ATT_FILE_MTIME
= 79004
PCLZIP_ATT_FILE_NAME
public
mixed
PCLZIP_ATT_FILE_NAME
= 79001
PCLZIP_ATT_FILE_NEW_FULL_NAME
public
mixed
PCLZIP_ATT_FILE_NEW_FULL_NAME
= 79003
PCLZIP_ATT_FILE_NEW_SHORT_NAME
public
mixed
PCLZIP_ATT_FILE_NEW_SHORT_NAME
= 79002
PCLZIP_CB_POST_ADD
public
mixed
PCLZIP_CB_POST_ADD
= 78004
PCLZIP_CB_POST_EXTRACT
public
mixed
PCLZIP_CB_POST_EXTRACT
= 78002
PCLZIP_CB_PRE_ADD
public
mixed
PCLZIP_CB_PRE_ADD
= 78003
PCLZIP_CB_PRE_EXTRACT
public
mixed
PCLZIP_CB_PRE_EXTRACT
= 78001
PCLZIP_ERR_ALREADY_A_DIRECTORY
public
mixed
PCLZIP_ERR_ALREADY_A_DIRECTORY
= -17
PCLZIP_ERR_BAD_CHECKSUM
public
mixed
PCLZIP_ERR_BAD_CHECKSUM
= -13
PCLZIP_ERR_BAD_EXTENSION
public
mixed
PCLZIP_ERR_BAD_EXTENSION
= -9
PCLZIP_ERR_BAD_EXTRACTED_FILE
public
mixed
PCLZIP_ERR_BAD_EXTRACTED_FILE
= -7
PCLZIP_ERR_BAD_FORMAT
public
mixed
PCLZIP_ERR_BAD_FORMAT
= -10
PCLZIP_ERR_DELETE_FILE_FAIL
public
mixed
PCLZIP_ERR_DELETE_FILE_FAIL
= -11
PCLZIP_ERR_DIR_CREATE_FAIL
public
mixed
PCLZIP_ERR_DIR_CREATE_FAIL
= -8
PCLZIP_ERR_DIRECTORY_RESTRICTION
public
mixed
PCLZIP_ERR_DIRECTORY_RESTRICTION
= -21
PCLZIP_ERR_FILENAME_TOO_LONG
public
mixed
PCLZIP_ERR_FILENAME_TOO_LONG
= -5
PCLZIP_ERR_INVALID_ARCHIVE_ZIP
public
mixed
PCLZIP_ERR_INVALID_ARCHIVE_ZIP
= -14
PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE
public
mixed
PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE
= -20
PCLZIP_ERR_INVALID_OPTION_VALUE
public
mixed
PCLZIP_ERR_INVALID_OPTION_VALUE
= -16
PCLZIP_ERR_INVALID_PARAMETER
public
mixed
PCLZIP_ERR_INVALID_PARAMETER
= -3
PCLZIP_ERR_INVALID_ZIP
public
mixed
PCLZIP_ERR_INVALID_ZIP
= -6
PCLZIP_ERR_MISSING_FILE
public
mixed
PCLZIP_ERR_MISSING_FILE
= -4
PCLZIP_ERR_MISSING_OPTION_VALUE
public
mixed
PCLZIP_ERR_MISSING_OPTION_VALUE
= -15
PCLZIP_ERR_NO_ERROR
public
mixed
PCLZIP_ERR_NO_ERROR
= 0
PCLZIP_ERR_READ_OPEN_FAIL
public
mixed
PCLZIP_ERR_READ_OPEN_FAIL
= -2
PCLZIP_ERR_RENAME_FILE_FAIL
public
mixed
PCLZIP_ERR_RENAME_FILE_FAIL
= -12
PCLZIP_ERR_UNSUPPORTED_COMPRESSION
public
mixed
PCLZIP_ERR_UNSUPPORTED_COMPRESSION
= -18
PCLZIP_ERR_UNSUPPORTED_ENCRYPTION
public
mixed
PCLZIP_ERR_UNSUPPORTED_ENCRYPTION
= -19
PCLZIP_ERR_USER_ABORTED
public
mixed
PCLZIP_ERR_USER_ABORTED
= 2
PCLZIP_ERR_WRITE_OPEN_FAIL
public
mixed
PCLZIP_ERR_WRITE_OPEN_FAIL
= -1
PCLZIP_ERROR_EXTERNAL
public
mixed
PCLZIP_ERROR_EXTERNAL
= 0
PCLZIP_OPT_ADD_COMMENT
public
mixed
PCLZIP_OPT_ADD_COMMENT
= 77013
PCLZIP_OPT_ADD_PATH
public
mixed
PCLZIP_OPT_ADD_PATH
= 77002
PCLZIP_OPT_ADD_TEMP_FILE_OFF
public
mixed
PCLZIP_OPT_ADD_TEMP_FILE_OFF
= 77022
PCLZIP_OPT_ADD_TEMP_FILE_ON
public
mixed
PCLZIP_OPT_ADD_TEMP_FILE_ON
= 77021
PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD
public
mixed
PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD
= 77020
PCLZIP_OPT_BY_EREG
public
mixed
PCLZIP_OPT_BY_EREG
= 77010
PCLZIP_OPT_BY_INDEX
public
mixed
PCLZIP_OPT_BY_INDEX
= 77009
PCLZIP_OPT_BY_NAME
public
mixed
PCLZIP_OPT_BY_NAME
= 77008
PCLZIP_OPT_BY_PREG
public
mixed
PCLZIP_OPT_BY_PREG
= 77011
PCLZIP_OPT_COMMENT
public
mixed
PCLZIP_OPT_COMMENT
= 77012
PCLZIP_OPT_EXTRACT_AS_STRING
public
mixed
PCLZIP_OPT_EXTRACT_AS_STRING
= 77006
PCLZIP_OPT_EXTRACT_DIR_RESTRICTION
public
mixed
PCLZIP_OPT_EXTRACT_DIR_RESTRICTION
= 77019
PCLZIP_OPT_EXTRACT_IN_OUTPUT
public
mixed
PCLZIP_OPT_EXTRACT_IN_OUTPUT
= 77015
PCLZIP_OPT_NO_COMPRESSION
public
mixed
PCLZIP_OPT_NO_COMPRESSION
= 77007
PCLZIP_OPT_PATH
public
mixed
PCLZIP_OPT_PATH
= 77001
PCLZIP_OPT_PREPEND_COMMENT
public
mixed
PCLZIP_OPT_PREPEND_COMMENT
= 77014
PCLZIP_OPT_REMOVE_ALL_PATH
public
mixed
PCLZIP_OPT_REMOVE_ALL_PATH
= 77004
PCLZIP_OPT_REMOVE_PATH
public
mixed
PCLZIP_OPT_REMOVE_PATH
= 77003
PCLZIP_OPT_REPLACE_NEWER
public
mixed
PCLZIP_OPT_REPLACE_NEWER
= 77016
PCLZIP_OPT_SET_CHMOD
public
mixed
PCLZIP_OPT_SET_CHMOD
= 77005
PCLZIP_OPT_STOP_ON_ERROR
public
mixed
PCLZIP_OPT_STOP_ON_ERROR
= 77017
PCLZIP_OPT_TEMP_FILE_OFF
public
mixed
PCLZIP_OPT_TEMP_FILE_OFF
= 77022
PCLZIP_OPT_TEMP_FILE_ON
public
mixed
PCLZIP_OPT_TEMP_FILE_ON
= 77021
PCLZIP_OPT_TEMP_FILE_THRESHOLD
public
mixed
PCLZIP_OPT_TEMP_FILE_THRESHOLD
= 77020
PCLZIP_READ_BLOCK_SIZE
public
mixed
PCLZIP_READ_BLOCK_SIZE
= 2048
PCLZIP_SEPARATOR
public
mixed
PCLZIP_SEPARATOR
= ','
PCLZIP_TEMPORARY_DIR
public
mixed
PCLZIP_TEMPORARY_DIR
= ''
PCLZIP_TEMPORARY_FILE_RATIO
public
mixed
PCLZIP_TEMPORARY_FILE_RATIO
= 0.47
Functions
PclZipUtilPathReduction()
PclZipUtilPathReduction(mixed $p_dir) : mixed
Parameters
- $p_dir : mixed
PclZipUtilPathInclusion()
PclZipUtilPathInclusion(mixed $p_dir, mixed $p_path) : mixed
Parameters
- $p_dir : mixed
- $p_path : mixed
PclZipUtilCopyBlock()
PclZipUtilCopyBlock(mixed $p_src, mixed $p_dest, mixed $p_size[, mixed $p_mode = 0 ]) : mixed
Parameters
- $p_src : mixed
- $p_dest : mixed
- $p_size : mixed
- $p_mode : mixed = 0
PclZipUtilRename()
PclZipUtilRename(mixed $p_src, mixed $p_dest) : mixed
Parameters
- $p_src : mixed
- $p_dest : mixed
PclZipUtilOptionText()
PclZipUtilOptionText(mixed $p_option) : mixed
Parameters
- $p_option : mixed
PclZipUtilTranslateWinPath()
PclZipUtilTranslateWinPath(mixed $p_path[, mixed $p_remove_disk_letter = true ]) : mixed
Parameters
- $p_path : mixed
- $p_remove_disk_letter : mixed = true