Lines Matching refs:NAME
63 public function __addFileToZip($FILE, $NAME, $ZIP = null) { argument
65 if ($NAME[0] === "/") {
67 $NAME = substr($NAME, 1);
72 …tions->debug->message("Trying to create PDF from File '$FILE' with name '$NAME' for ZIP '$ZIP'", n…
74 $succeeded = $this->pdfGenerator->createPDFFromFile($FILE, $NAME);
77 $this->__moveDataToZip($succeeded, "_debug/$NAME.html", $ZIP, true);
81 …ctions->debug->runtimeException("Create PDF from File '$FILE' with name '$NAME' went wrong and is …
86 return $this->__writeFileToZip($FILE, $NAME, $ZIP);
95 private function __writeFileToZip($FILE, $NAME, $ZIPFILE) { argument
112 $this->functions->debug->message("Adding file '{$NAME}' to ZIP {$ZIPFILE}", null, 2);
114 $zip->addFile($FILE, $NAME);
124 $this->functions->debug->runtimeException("Zip Error #{$code} for file {$NAME}");
132 public function fileExistsInZip($NAME) argument
137 $exists = !($zip->statName($NAME) === FALSE);