Lines Matching refs:extra
605 $header['extra'] = fread($this->fh, $header['extra_len']);
606 $header['extradata'] = $this->parseExtra($header['extra']);
608 $header['extra'] = '';
648 $header['extra'] = fread($this->fh, $data['extra_len']);
649 $header['extradata'] = array_merge($header['extradata'], $this->parseExtra($header['extra']));
651 $header['extra'] = '';
675 * Parse the extra headers into fields
682 $extra = array();
683 // parse all extra fields as raw values
689 $extra[$set['id']] = $value;
693 if(isset($extra[0x6375])) {
694 $extra['utf8comment'] = substr($extra[0x7075], 5); // strip version and crc
696 if(isset($extra[0x7075])) {
697 $extra['utf8path'] = substr($extra[0x7075], 5); // strip version and crc
700 return $extra;
913 list($name, $extra) = $this->encodeFilename($name);
931 $header .= pack('v', strlen($extra)); // extra field length
938 $header .= $extra; // extra (utf-8 filename)
960 list($name, $extra) = $this->encodeFilename($name);
977 $header .= pack('v', strlen($extra)); // extra field length
979 $header .= $extra; // extra (utf-8 filename)
1000 * Returns an allowed filename and an extra field header
1003 * extra field
1006 * @return array($filename, $extra)
1015 $extra = pack(
1022 $extra .= $original;
1024 return array($cp437, $extra);