Lines Matching +full:compression -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
29 * Set the compression level.
31 * Compression Type is ignored for ZIP
33 * You can call this function before adding each file to set differen compression levels
36 * @param int $level Compression level (0 to 9)
37 * @param int $type Type of compression to use ignored for ZIP
43 throw new ArchiveIllegalCompressionException('Compression level should be between -1 and 9');
182 if ($header['compression'] == 0) {
194 // prepend compression header
195 if ($header['compression'] != 0) {
199 chr($header['compression']),
219 if ($header['compression'] != 0) {
228 if ($header['compression'] != 0) {
350 // get rid of the compression footer
356 // get rid of the compression header
421 $data = substr($data, 2, -4); // strip compression headers
655 $header['compression'] = $data['compression'];
904 * @param boolean|null $comp if compression is used, if null it's determined from $len != $clen
919 $header .= pack('v', $comp); // compression method - deflate|none
951 * @param boolean|null $comp if compression is used, if null it's determined from $len != $clen
965 $header .= pack('v', $comp); // compression method - deflate|none