Lines Matching refs:zip
103 $zip = new ZipArchive();
104 if (!$zip) {
109 $code = $zip->open($ZIPFILE, ZipArchive::CREATE);
114 $zip->addFile($FILE, $NAME);
115 $zip->close();
134 $zip = new ZipArchive();
135 $code = $zip->open($this->functions->settings->zipFile, ZipArchive::CREATE);
137 $exists = !($zip->statName($NAME) === FALSE);
138 $zip->close();
206 $zip = new ZipArchive();
207 $code = $zip->open($data['file']);
213 if ($zip->numFiles != 1) {
214 $zip->close();
215 …$this->functions->debug->message("More than one ({$zip->numFiles}) file in zip.", $data['file'], 2…
219 $stat = $zip->statIndex(0);
222 $zip->close();
233 $zip->extractTo($folder, $stat['name']);
234 $zip->close();