SimplePie: PHP-based RSS and Atom feed handling
 
  • Overview
  • Demo
  • Blog
  • Download
  • Documentation
  • API Docs
  • Support
  • Issue Tracker
  • FAQ
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • SimplePie
    • API
    • Caching
    • HTTP
    • Parsing

Classes

  • SimplePie_Content_Type_Sniffer
  • SimplePie_File
  • SimplePie_gzdecode
  • SimplePie_HTTP_Parser
  • SimplePie_IRI
  • SimplePie_Net_IPv6

Class SimplePie_gzdecode

Decode 'gzip' encoded HTTP data

Package: SimplePie\HTTP
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Link: http://www.gzip.org/format.txt
Located at SimplePie/gzdecode.php
Methods summary
public
# __set( string $name, mixed $value )

Don't allow anything to be set

Parameters

$name
string
$value
mixed
public
# __construct( string $data )

Set the compressed string and related properties

Parameters

$data
string
public boolean
# parse( )

Decode the GZIP stream

Returns

boolean
Successfulness
Properties summary
public string $compressed_data
#

Compressed data

See

gzdecode::$data
public integer $compressed_size
#

Size of compressed data

public integer $min_compressed_size 18
#

Minimum size of a valid gzip string

public integer $position 0
#

Current position of pointer

public integer $flags
#

Flags (FLG)

public string $data
#

Uncompressed data

See

gzdecode::$compressed_data
public integer $MTIME
#

Modified time

public integer $XFL
#

Extra Flags

public integer $OS
#

Operating System

public string $SI1
#

Subfield ID 1

See

gzdecode::$extra_field
gzdecode::$SI2
public string $SI2
#

Subfield ID 2

See

gzdecode::$extra_field
gzdecode::$SI1
public string $extra_field
#

Extra field content

See

gzdecode::$SI1
gzdecode::$SI2
public string $filename
#

Original filename

public string $comment
#

Human readable comment

Show some love! Wishlists for Geoffrey, Ryan P., and Ryan M.

SimplePie is © 2004–2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors. Licensed under the BSD License. Hosted thanks to Matt Mullenweg, API documentation generated by ApiGen 2.6.1. Variation on the Feed Icon by Wolfgang Bartelme.