// ----- Merge the archive
$v_result =
$this->
privMerge($p_archive_to_add);
} // ----- Look if the $p_archive_to_add is a string (so a filename)
else if (is_string($p_archive_to_add)) { // ----- Create a temporary archive
$v_object_archive =
new PclZip($p_archive_to_add);
// ----- Merge the archive
$v_result =
$this->
privMerge($v_object_archive);
} // ----- Invalid variable
else { // ----- Error log
PclZip::
privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"
);
$v_result = PCLZIP_ERR_INVALID_PARAMETER;
}