|
@@ 1439-1445 (lines=7) @@
|
| 1436 |
|
while ($i<$p_size) { |
| 1437 |
|
|
| 1438 |
|
// ----- Check if the option is supported |
| 1439 |
|
if (!isset($v_requested_options[$p_options_list[$i]])) { |
| 1440 |
|
// ----- Error log |
| 1441 |
|
PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"); |
| 1442 |
|
|
| 1443 |
|
// ----- Return |
| 1444 |
|
return PclZip::errorCode(); |
| 1445 |
|
} |
| 1446 |
|
|
| 1447 |
|
// ----- Look for next option |
| 1448 |
|
switch ($p_options_list[$i]) { |
|
@@ 1883-1889 (lines=7) @@
|
| 1880 |
|
foreach ($p_file_list as $v_key => $v_value) { |
| 1881 |
|
|
| 1882 |
|
// ----- Check if the option is supported |
| 1883 |
|
if (!isset($v_requested_options[$v_key])) { |
| 1884 |
|
// ----- Error log |
| 1885 |
|
PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file attribute '".$v_key."' for this file"); |
| 1886 |
|
|
| 1887 |
|
// ----- Return |
| 1888 |
|
return PclZip::errorCode(); |
| 1889 |
|
} |
| 1890 |
|
|
| 1891 |
|
// ----- Look for attribute |
| 1892 |
|
switch ($v_key) { |