Lines Matching refs:p_filelist

208   //   create($p_filelist, $p_add_dir="", $p_remove_dir="")
209 // create($p_filelist, $p_option, $p_option_value, ...)
213 // filesystem. The files and directories indicated in $p_filelist
215 // supported format of $p_filelist.
221 // $p_filelist : An array containing file or directory names, or
243 public function create($p_filelist)
245 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, 'PclZip::create', "filelist='$p_filelist', ...");
314 // ----- Look if the $p_filelist is really an array
315 if (is_array($p_filelist)) {
318 if (isset($p_filelist[0]) && is_array($p_filelist[0])) {
319 $v_att_list = $p_filelist;
324 $v_string_list = $p_filelist;
326 } elseif (is_string($p_filelist)) {
328 $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist);
330 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_filelist");
384 // add($p_filelist, $p_add_dir="", $p_remove_dir="")
385 // add($p_filelist, $p_option, $p_option_value, ...)
393 // $p_filelist : An array containing file or directory names, or
417 public function add($p_filelist)
419 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, 'PclZip::add', "filelist='$p_filelist', ...");
487 // ----- Look if the $p_filelist is really an array
488 if (is_array($p_filelist)) {
491 if (isset($p_filelist[0]) && is_array($p_filelist[0])) {
492 $v_att_list = $p_filelist;
497 $v_string_list = $p_filelist;
499 } elseif (is_string($p_filelist)) {
501 $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist);
503 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type '" . gettype($p_filelist) . "' for p_filelist");