ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
pclzip.lib.php File Reference

Go to the source code of this file.

Data Structures

class  PclZip
 

Functions

 PclZipUtilPathReduction ($p_dir)
 
 PclZipUtilPathInclusion ($p_dir, $p_path)
 
 PclZipUtilCopyBlock ($p_src, $p_dest, $p_size, $p_mode=0)
 
 PclZipUtilRename ($p_src, $p_dest)
 
 PclZipUtilOptionText ($p_option)
 
 PclZipUtilTranslateWinPath ($p_path, $p_remove_disk_letter=true)
 

Variables

if(!defined('PCLZIP_READ_BLOCK_SIZE')) if(!defined('PCLZIP_SEPARATOR')) if(!defined('PCLZIP_ERROR_EXTERNAL')) if(!defined('PCLZIP_TEMPORARY_DIR')) if(!defined('PCLZIP_TEMPORARY_FILE_RATIO')) $g_pclzip_version = "2.8.2"
 
const PCLZIP_ERR_USER_ABORTED 2
 
const PCLZIP_ERR_NO_ERROR 0
 
const PCLZIP_ERR_WRITE_OPEN_FAIL -1
 
const PCLZIP_ERR_READ_OPEN_FAIL -2
 
const PCLZIP_ERR_INVALID_PARAMETER -3
 
const PCLZIP_ERR_MISSING_FILE -4
 
const PCLZIP_ERR_FILENAME_TOO_LONG -5
 
const PCLZIP_ERR_INVALID_ZIP -6
 
const PCLZIP_ERR_BAD_EXTRACTED_FILE -7
 
const PCLZIP_ERR_DIR_CREATE_FAIL -8
 
const PCLZIP_ERR_BAD_EXTENSION -9
 
const PCLZIP_ERR_BAD_FORMAT -10
 
const PCLZIP_ERR_DELETE_FILE_FAIL -11
 
const PCLZIP_ERR_RENAME_FILE_FAIL -12
 
const PCLZIP_ERR_BAD_CHECKSUM -13
 
const PCLZIP_ERR_INVALID_ARCHIVE_ZIP -14
 
const PCLZIP_ERR_MISSING_OPTION_VALUE -15
 
const PCLZIP_ERR_INVALID_OPTION_VALUE -16
 
const PCLZIP_ERR_ALREADY_A_DIRECTORY -17
 
const PCLZIP_ERR_UNSUPPORTED_COMPRESSION -18
 
const PCLZIP_ERR_UNSUPPORTED_ENCRYPTION -19
 
const PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE -20
 
const PCLZIP_ERR_DIRECTORY_RESTRICTION -21
 
const PCLZIP_OPT_PATH 77001
 
const PCLZIP_OPT_ADD_PATH 77002
 
const PCLZIP_OPT_REMOVE_PATH 77003
 
const PCLZIP_OPT_REMOVE_ALL_PATH 77004
 
const PCLZIP_OPT_SET_CHMOD 77005
 
const PCLZIP_OPT_EXTRACT_AS_STRING 77006
 
const PCLZIP_OPT_NO_COMPRESSION 77007
 
const PCLZIP_OPT_BY_NAME 77008
 
const PCLZIP_OPT_BY_INDEX 77009
 
const PCLZIP_OPT_BY_EREG 77010
 
const PCLZIP_OPT_BY_PREG 77011
 
const PCLZIP_OPT_COMMENT 77012
 
const PCLZIP_OPT_ADD_COMMENT 77013
 
const PCLZIP_OPT_PREPEND_COMMENT 77014
 
const PCLZIP_OPT_EXTRACT_IN_OUTPUT 77015
 
const PCLZIP_OPT_REPLACE_NEWER 77016
 
const PCLZIP_OPT_STOP_ON_ERROR 77017
 
const PCLZIP_OPT_EXTRACT_DIR_RESTRICTION 77019
 
const PCLZIP_OPT_TEMP_FILE_THRESHOLD 77020
 
const PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD 77020
 
const PCLZIP_OPT_TEMP_FILE_ON 77021
 
const PCLZIP_OPT_ADD_TEMP_FILE_ON 77021
 
const PCLZIP_OPT_TEMP_FILE_OFF 77022
 
const PCLZIP_OPT_ADD_TEMP_FILE_OFF 77022
 
const PCLZIP_ATT_FILE_NAME 79001
 
const PCLZIP_ATT_FILE_NEW_SHORT_NAME 79002
 
const PCLZIP_ATT_FILE_NEW_FULL_NAME 79003
 
const PCLZIP_ATT_FILE_MTIME 79004
 
const PCLZIP_ATT_FILE_CONTENT 79005
 
const PCLZIP_ATT_FILE_COMMENT 79006
 
const PCLZIP_CB_PRE_EXTRACT 78001
 
const PCLZIP_CB_POST_EXTRACT 78002
 
const PCLZIP_CB_PRE_ADD 78003
 
const PCLZIP_CB_POST_ADD 78004
 

Function Documentation

◆ PclZipUtilCopyBlock()

PclZipUtilCopyBlock (   $p_src,
  $p_dest,
  $p_size,
  $p_mode = 0 
)

Definition at line 5554 of file pclzip.lib.php.

Referenced by PclZip\privDeleteByRule().

5555  {
5556  $v_result = 1;
5557 
5558  if ($p_mode==0)
5559  {
5560  while ($p_size != 0)
5561  {
5562  $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);
5563  $v_buffer = @fread($p_src, $v_read_size);
5564  @fwrite($p_dest, $v_buffer, $v_read_size);
5565  $p_size -= $v_read_size;
5566  }
5567  }
5568  else if ($p_mode==1)
5569  {
5570  while ($p_size != 0)
5571  {
5572  $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);
5573  $v_buffer = @gzread($p_src, $v_read_size);
5574  @fwrite($p_dest, $v_buffer, $v_read_size);
5575  $p_size -= $v_read_size;
5576  }
5577  }
5578  else if ($p_mode==2)
5579  {
5580  while ($p_size != 0)
5581  {
5582  $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);
5583  $v_buffer = @fread($p_src, $v_read_size);
5584  @gzwrite($p_dest, $v_buffer, $v_read_size);
5585  $p_size -= $v_read_size;
5586  }
5587  }
5588  else if ($p_mode==3)
5589  {
5590  while ($p_size != 0)
5591  {
5592  $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);
5593  $v_buffer = @gzread($p_src, $v_read_size);
5594  @gzwrite($p_dest, $v_buffer, $v_read_size);
5595  $p_size -= $v_read_size;
5596  }
5597  }
5598 
5599  // ----- Return
5600  return $v_result;
5601  }
+ Here is the caller graph for this function:

◆ PclZipUtilOptionText()

PclZipUtilOptionText (   $p_option)

Definition at line 5646 of file pclzip.lib.php.

5647  {
5648 
5649  $v_list = get_defined_constants();
5650  for (reset($v_list); $v_key = key($v_list); next($v_list)) {
5651  $v_prefix = substr($v_key, 0, 10);
5652  if (( ($v_prefix == 'PCLZIP_OPT')
5653  || ($v_prefix == 'PCLZIP_CB_')
5654  || ($v_prefix == 'PCLZIP_ATT'))
5655  && ($v_list[$v_key] == $p_option)) {
5656  return $v_key;
5657  }
5658  }
5659 
5660  $v_result = 'Unknown';
5661 
5662  return $v_result;
5663  }

◆ PclZipUtilPathInclusion()

PclZipUtilPathInclusion (   $p_dir,
  $p_path 
)

Definition at line 5477 of file pclzip.lib.php.

References PclZipUtilTranslateWinPath().

5478  {
5479  $v_result = 1;
5480 
5481  // ----- Look for path beginning by ./
5482  if ( ($p_dir == '.')
5483  || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {
5484  $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1);
5485  }
5486  if ( ($p_path == '.')
5487  || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) {
5488  $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1);
5489  }
5490 
5491  // ----- Explode dir and path by directory separator
5492  $v_list_dir = explode("/", $p_dir);
5493  $v_list_dir_size = sizeof($v_list_dir);
5494  $v_list_path = explode("/", $p_path);
5495  $v_list_path_size = sizeof($v_list_path);
5496 
5497  // ----- Study directories paths
5498  $i = 0;
5499  $j = 0;
5500  while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) {
5501 
5502  // ----- Look for empty dir (path reduction)
5503  if ($v_list_dir[$i] == '') {
5504  $i++;
5505  continue;
5506  }
5507  if ($v_list_path[$j] == '') {
5508  $j++;
5509  continue;
5510  }
5511 
5512  // ----- Compare the items
5513  if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != '')) {
5514  $v_result = 0;
5515  }
5516 
5517  // ----- Next items
5518  $i++;
5519  $j++;
5520  }
5521 
5522  // ----- Look if everything seems to be the same
5523  if ($v_result) {
5524  // ----- Skip all the empty items
5525  while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) $j++;
5526  while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) $i++;
5527 
5528  if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) {
5529  // ----- There are exactly the same
5530  $v_result = 2;
5531  }
5532  else if ($i < $v_list_dir_size) {
5533  // ----- The path is shorter than the dir
5534  $v_result = 0;
5535  }
5536  }
5537 
5538  // ----- Return
5539  return $v_result;
5540  }
PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true)
+ Here is the call graph for this function:

◆ PclZipUtilPathReduction()

PclZipUtilPathReduction (   $p_dir)

Definition at line 5396 of file pclzip.lib.php.

5397  {
5398  $v_result = "";
5399 
5400  // ----- Look for not empty path
5401  if ($p_dir != "") {
5402  // ----- Explode path by directory names
5403  $v_list = explode("/", $p_dir);
5404 
5405  // ----- Study directories from last to first
5406  $v_skip = 0;
5407  for ($i=sizeof($v_list)-1; $i>=0; $i--) {
5408  // ----- Look for current path
5409  if ($v_list[$i] == ".") {
5410  // ----- Ignore this directory
5411  // Should be the first $i=0, but no check is done
5412  }
5413  else if ($v_list[$i] == "..") {
5414  $v_skip++;
5415  }
5416  else if ($v_list[$i] == "") {
5417  // ----- First '/' i.e. root slash
5418  if ($i == 0) {
5419  $v_result = "/".$v_result;
5420  if ($v_skip > 0) {
5421  // ----- It is an invalid path, so the path is not modified
5422  // TBC
5423  $v_result = $p_dir;
5424  $v_skip = 0;
5425  }
5426  }
5427  // ----- Last '/' i.e. indicates a directory
5428  else if ($i == (sizeof($v_list)-1)) {
5429  $v_result = $v_list[$i];
5430  }
5431  // ----- Double '/' inside the path
5432  else {
5433  // ----- Ignore only the double '//' in path,
5434  // but not the first and last '/'
5435  }
5436  }
5437  else {
5438  // ----- Look for item to skip
5439  if ($v_skip > 0) {
5440  $v_skip--;
5441  }
5442  else {
5443  $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?"/".$v_result:"");
5444  }
5445  }
5446  }
5447 
5448  // ----- Look for skip
5449  if ($v_skip > 0) {
5450  while ($v_skip > 0) {
5451  $v_result = '../'.$v_result;
5452  $v_skip--;
5453  }
5454  }
5455  }
5456 
5457  // ----- Return
5458  return $v_result;
5459  }

◆ PclZipUtilRename()

PclZipUtilRename (   $p_src,
  $p_dest 
)

Definition at line 5616 of file pclzip.lib.php.

Referenced by PclZip\privDeleteByRule().

5617  {
5618  $v_result = 1;
5619 
5620  // ----- Try to rename the files
5621  if (!@rename($p_src, $p_dest)) {
5622 
5623  // ----- Try to copy & unlink the src
5624  if (!@copy($p_src, $p_dest)) {
5625  $v_result = 0;
5626  }
5627  else if (!@unlink($p_src)) {
5628  $v_result = 0;
5629  }
5630  }
5631 
5632  // ----- Return
5633  return $v_result;
5634  }
+ Here is the caller graph for this function:

◆ PclZipUtilTranslateWinPath()

PclZipUtilTranslateWinPath (   $p_path,
  $p_remove_disk_letter = true 
)

Definition at line 5677 of file pclzip.lib.php.

Referenced by PclZipUtilPathInclusion().

5678  {
5679  if (stristr(php_uname(), 'windows')) {
5680  // ----- Look for potential disk letter
5681  if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) {
5682  $p_path = substr($p_path, $v_position+1);
5683  }
5684  // ----- Change potential windows directory separator
5685  if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0,1) == '\\')) {
5686  $p_path = strtr($p_path, '\\', '/');
5687  }
5688  }
5689  return $p_path;
5690  }
+ Here is the caller graph for this function:

Variable Documentation

◆ $g_pclzip_version

if (!defined( 'PCLZIP_READ_BLOCK_SIZE')) if (!defined( 'PCLZIP_SEPARATOR')) if (!defined( 'PCLZIP_ERROR_EXTERNAL')) if (!defined( 'PCLZIP_TEMPORARY_DIR')) if (!defined( 'PCLZIP_TEMPORARY_FILE_RATIO')) $g_pclzip_version = "2.8.2"

Definition at line 86 of file pclzip.lib.php.

◆ PCLZIP_ATT_FILE_COMMENT

const PCLZIP_ATT_FILE_COMMENT 79006

Definition at line 162 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_ATT_FILE_CONTENT

const PCLZIP_ATT_FILE_CONTENT 79005

Definition at line 161 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_ATT_FILE_MTIME

const PCLZIP_ATT_FILE_MTIME 79004

Definition at line 160 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_ATT_FILE_NAME

const PCLZIP_ATT_FILE_NAME 79001

Definition at line 157 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_ATT_FILE_NEW_FULL_NAME

const PCLZIP_ATT_FILE_NEW_FULL_NAME 79003

Definition at line 159 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_ATT_FILE_NEW_SHORT_NAME

const PCLZIP_ATT_FILE_NEW_SHORT_NAME 79002

Definition at line 158 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_CB_POST_ADD

const PCLZIP_CB_POST_ADD 78004

Definition at line 168 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_CB_POST_EXTRACT

const PCLZIP_CB_POST_EXTRACT 78002

Definition at line 166 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_CB_PRE_ADD

const PCLZIP_CB_PRE_ADD 78003

Definition at line 167 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_CB_PRE_EXTRACT

const PCLZIP_CB_PRE_EXTRACT 78001

Definition at line 165 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_ERR_ALREADY_A_DIRECTORY

const PCLZIP_ERR_ALREADY_A_DIRECTORY -17

Definition at line 121 of file pclzip.lib.php.

◆ PCLZIP_ERR_BAD_CHECKSUM

const PCLZIP_ERR_BAD_CHECKSUM -13

Definition at line 117 of file pclzip.lib.php.

◆ PCLZIP_ERR_BAD_EXTENSION

const PCLZIP_ERR_BAD_EXTENSION -9

Definition at line 113 of file pclzip.lib.php.

◆ PCLZIP_ERR_BAD_EXTRACTED_FILE

const PCLZIP_ERR_BAD_EXTRACTED_FILE -7

Definition at line 111 of file pclzip.lib.php.

◆ PCLZIP_ERR_BAD_FORMAT

const PCLZIP_ERR_BAD_FORMAT -10

Definition at line 114 of file pclzip.lib.php.

◆ PCLZIP_ERR_DELETE_FILE_FAIL

const PCLZIP_ERR_DELETE_FILE_FAIL -11

Definition at line 115 of file pclzip.lib.php.

◆ PCLZIP_ERR_DIR_CREATE_FAIL

const PCLZIP_ERR_DIR_CREATE_FAIL -8

Definition at line 112 of file pclzip.lib.php.

Referenced by PclZip\privDirCheck().

◆ PCLZIP_ERR_DIRECTORY_RESTRICTION

const PCLZIP_ERR_DIRECTORY_RESTRICTION -21

Definition at line 125 of file pclzip.lib.php.

◆ PCLZIP_ERR_FILENAME_TOO_LONG

const PCLZIP_ERR_FILENAME_TOO_LONG -5

Definition at line 109 of file pclzip.lib.php.

◆ PCLZIP_ERR_INVALID_ARCHIVE_ZIP

const PCLZIP_ERR_INVALID_ARCHIVE_ZIP -14

Definition at line 118 of file pclzip.lib.php.

Referenced by PclZip\privDeleteByRule().

◆ PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE

const PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE -20

Definition at line 124 of file pclzip.lib.php.

◆ PCLZIP_ERR_INVALID_OPTION_VALUE

const PCLZIP_ERR_INVALID_OPTION_VALUE -16

Definition at line 120 of file pclzip.lib.php.

◆ PCLZIP_ERR_INVALID_PARAMETER

const PCLZIP_ERR_INVALID_PARAMETER -3

Definition at line 107 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_ERR_INVALID_ZIP

const PCLZIP_ERR_INVALID_ZIP -6

Definition at line 110 of file pclzip.lib.php.

◆ PCLZIP_ERR_MISSING_FILE

const PCLZIP_ERR_MISSING_FILE -4

Definition at line 108 of file pclzip.lib.php.

◆ PCLZIP_ERR_MISSING_OPTION_VALUE

const PCLZIP_ERR_MISSING_OPTION_VALUE -15

Definition at line 119 of file pclzip.lib.php.

◆ PCLZIP_ERR_NO_ERROR

const PCLZIP_ERR_NO_ERROR 0

Definition at line 104 of file pclzip.lib.php.

◆ PCLZIP_ERR_READ_OPEN_FAIL

const PCLZIP_ERR_READ_OPEN_FAIL -2

Definition at line 106 of file pclzip.lib.php.

Referenced by PclZip\privMerge(), and PclZip\properties().

◆ PCLZIP_ERR_RENAME_FILE_FAIL

const PCLZIP_ERR_RENAME_FILE_FAIL -12

Definition at line 116 of file pclzip.lib.php.

◆ PCLZIP_ERR_UNSUPPORTED_COMPRESSION

const PCLZIP_ERR_UNSUPPORTED_COMPRESSION -18

Definition at line 122 of file pclzip.lib.php.

◆ PCLZIP_ERR_UNSUPPORTED_ENCRYPTION

const PCLZIP_ERR_UNSUPPORTED_ENCRYPTION -19

Definition at line 123 of file pclzip.lib.php.

◆ PCLZIP_ERR_USER_ABORTED

const PCLZIP_ERR_USER_ABORTED 2

Definition at line 103 of file pclzip.lib.php.

◆ PCLZIP_ERR_WRITE_OPEN_FAIL

const PCLZIP_ERR_WRITE_OPEN_FAIL -1

Definition at line 105 of file pclzip.lib.php.

◆ PCLZIP_OPT_ADD_COMMENT

const PCLZIP_OPT_ADD_COMMENT 77013

Definition at line 140 of file pclzip.lib.php.

Referenced by PclZip\add().

◆ PCLZIP_OPT_ADD_PATH

const PCLZIP_OPT_ADD_PATH 77002

◆ PCLZIP_OPT_ADD_TEMP_FILE_OFF

const PCLZIP_OPT_ADD_TEMP_FILE_OFF 77022

Definition at line 154 of file pclzip.lib.php.

◆ PCLZIP_OPT_ADD_TEMP_FILE_ON

const PCLZIP_OPT_ADD_TEMP_FILE_ON 77021

Definition at line 152 of file pclzip.lib.php.

◆ PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD

const PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD 77020

Definition at line 150 of file pclzip.lib.php.

◆ PCLZIP_OPT_BY_EREG

const PCLZIP_OPT_BY_EREG 77010

Definition at line 137 of file pclzip.lib.php.

Referenced by PclZip\delete(), and PclZip\extract().

◆ PCLZIP_OPT_BY_INDEX

const PCLZIP_OPT_BY_INDEX 77009

◆ PCLZIP_OPT_BY_NAME

const PCLZIP_OPT_BY_NAME 77008

Definition at line 135 of file pclzip.lib.php.

Referenced by PclZip\delete(), PclZip\extract(), and PclZip\privDeleteByRule().

◆ PCLZIP_OPT_BY_PREG

const PCLZIP_OPT_BY_PREG 77011

Definition at line 138 of file pclzip.lib.php.

Referenced by PclZip\delete(), PclZip\extract(), and PclZip\privDeleteByRule().

◆ PCLZIP_OPT_COMMENT

const PCLZIP_OPT_COMMENT 77012

Definition at line 139 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), and PclZip\privDeleteByRule().

◆ PCLZIP_OPT_EXTRACT_AS_STRING

const PCLZIP_OPT_EXTRACT_AS_STRING 77006

◆ PCLZIP_OPT_EXTRACT_DIR_RESTRICTION

const PCLZIP_OPT_EXTRACT_DIR_RESTRICTION 77019

Definition at line 148 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_EXTRACT_IN_OUTPUT

const PCLZIP_OPT_EXTRACT_IN_OUTPUT 77015

Definition at line 142 of file pclzip.lib.php.

Referenced by PclZip\extract().

◆ PCLZIP_OPT_NO_COMPRESSION

const PCLZIP_OPT_NO_COMPRESSION 77007

Definition at line 134 of file pclzip.lib.php.

Referenced by PclZip\add(), and PclZip\create().

◆ PCLZIP_OPT_PATH

const PCLZIP_OPT_PATH 77001

Definition at line 128 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_PREPEND_COMMENT

const PCLZIP_OPT_PREPEND_COMMENT 77014

Definition at line 141 of file pclzip.lib.php.

Referenced by PclZip\add().

◆ PCLZIP_OPT_REMOVE_ALL_PATH

const PCLZIP_OPT_REMOVE_ALL_PATH 77004

Definition at line 131 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_REMOVE_PATH

const PCLZIP_OPT_REMOVE_PATH 77003

◆ PCLZIP_OPT_REPLACE_NEWER

const PCLZIP_OPT_REPLACE_NEWER 77016

Definition at line 143 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_SET_CHMOD

const PCLZIP_OPT_SET_CHMOD 77005

Definition at line 132 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_STOP_ON_ERROR

const PCLZIP_OPT_STOP_ON_ERROR 77017

Definition at line 144 of file pclzip.lib.php.

Referenced by PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_TEMP_FILE_OFF

const PCLZIP_OPT_TEMP_FILE_OFF 77022

Definition at line 153 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_TEMP_FILE_ON

const PCLZIP_OPT_TEMP_FILE_ON 77021

Definition at line 151 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), PclZip\extract(), and PclZip\extractByIndex().

◆ PCLZIP_OPT_TEMP_FILE_THRESHOLD

const PCLZIP_OPT_TEMP_FILE_THRESHOLD 77020

Definition at line 149 of file pclzip.lib.php.

Referenced by PclZip\add(), PclZip\create(), PclZip\extract(), and PclZip\extractByIndex().