Lines Matching refs:p_archive_to_add

1149             PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add");
1162 // This method merge the $p_archive_to_add archive at the end of the current
1165 // If the $p_archive_to_add archive does not exist, the merge is a success.
1167 // $p_archive_to_add : It can be directly the filename of a valid zip archive,
1173 public function merge($p_archive_to_add)
1187 // ----- Look if the $p_archive_to_add is a PclZip object
1188 if ((is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip')) {
1191 $v_result = $this->privMerge($p_archive_to_add);
1192 } elseif (is_string($p_archive_to_add)) {
1195 $v_object_archive = new PclZip($p_archive_to_add);
1200 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add");
4823 // If $p_archive_to_add does not exist, the function exit with a success result.
4827 public function privMerge(&$p_archive_to_add)
4829 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privMerge", "archive='".$p_archive_to_add->zipname."'");
4833 if (!is_file($p_archive_to_add->zipname)) {
4849 $v_result = $this->privDuplicate($p_archive_to_add->zipname);
4879 if (($v_result = $p_archive_to_add->privOpenFd('rb')) != 1) {
4889 if (($v_result = $p_archive_to_add->privReadEndCentralDir($v_central_dir_to_add)) != 1) {
4891 $p_archive_to_add->privCloseFd();
4898 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Position in archive_to_add : ".ftell($p_archive_to_add->zip_fd)."'");
4899 @rewind($p_archive_to_add->zip_fd);
4900 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Position in archive_to_add : ".ftell($p_archive_to_add->zip_fd)."'");
4909 $p_archive_to_add->privCloseFd();
4934 $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size);
4958 $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size);
4979 $p_archive_to_add->privCloseFd();
4998 $p_archive_to_add->privCloseFd();