private function getFileData($key)
	{
		if ($this->metadata[$key]['_method'] == 0x8)
		{
			return gzinflate(substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']));
		}
		elseif ($this->metadata[$key]['_method'] == 0x0)
		{
			/* Files that aren't compressed. */
			return substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']);
		}
		elseif ($this->metadata[$key]['_method'] == 0x12)
		{
			// If bz2 extension is loaded use it
			if (extension_loaded('bz2'))
			{
				return bzdecompress(substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']));
			}
		}

		return '';
	}
private function getFileData($key)
	{
		if ($this->metadata[$key]['_method'] == 0x8)
		{
			return gzinflate(substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']));
		}
		elseif ($this->metadata[$key]['_method'] == 0x0)
		{
			/* Files that aren't compressed. */
			return substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']);
		}
		elseif ($this->metadata[$key]['_method'] == 0x12)
		{
			// If bz2 extension is loaded use it
			if (extension_loaded('bz2'))
			{
				return bzdecompress(substr($this->data, $this->metadata[$key]['_dataStart'], $this->metadata[$key]['csize']));
			}
		}

		return '';
	}
private function getFileData ( $ key ) { if ( $ this -> metadata [ $ key ] [ '_method' ] == 0x8 ) { return gzinflate ( substr ( $ this -> data , $ this -> metadata [ $ key ] [ '_dataStart' ] , $ this -> metadata [ $ key ] [ 'csize' ] ) ) ; } elseif ( $ this -> metadata [ $ key ] [ '_method' ] == 0x0 ) { /* Files that aren't compressed. */ return substr ( $ this -> data , $ this -> metadata [ $ key ] [ '_dataStart' ] , $ this -> metadata [ $ key ] [ 'csize' ] ) ; } elseif ( $ this -> metadata [ $ key ] [ '_method' ] == 0x12 ) { // If bz2 extension is loaded use it if ( extension_loaded ( 'bz2' ) ) { return bzdecompress ( substr ( $ this -> data , $ this -> metadata [ $ key ] [ '_dataStart' ] , $ this -> metadata [ $ key ] [ 'csize' ] ) ) ; } } return '' ; }
Returns the file data for a file by offsest in the ZIP archive

@param   integer  $key  The position of the file in the archive.

@return  string  Uncompressed file data buffer.

@since   1.0
Returns the file data for a file by offsest in the ZIP archive