Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

httpdeflatestream(3) [php man page]

HTTPDEFLATESTREAM(3)							 1						      HTTPDEFLATESTREAM(3)

The HttpDeflateStream class

CLASS SYNOPSIS
HttpDeflateStream HttpDeflateStream o public HttpDeflateStream::__construct ([int $flags]) o static public HttpDeflateStream HttpDeflateStream::factory ([int $flags], [string $class_name = "HttpDeflateStream"]) o public string HttpDeflateStream::finish ([string $data]) o public string HttpDeflateStream::flush ([string $data]) o public string HttpDeflateStream::update (string $data) CLASS MEMBERS
PREDEFINED CONSTANTS
+-----+---------------------------+---+ |Type | | | | | | | | | Name | | | | | | | | Description | | | | | | +-----+---------------------------+---+ |int | | | | | | | | | TYPE_GZIP | | | | | | | | gzip encoding | | | | | | |int | | | | | | | | | TYPE_ZLIB | | | | | | | | zlib AKA deflate encoding | | | | | | |int | | | | | | | | | TYPE_RAW | | | | | | | | raw deflate encoding | | | | | | |int | | | | | | | | | LEVEL_DEF | | | | | | | | default compression level | | | | | | |int | | | | | | | | | LEVEL_MIN | | | | | | | | minimum compression level | | | | | | |int | | | | | | | | | LEVEL_MAX | | | | | | | | maximum compression level | | | | | | |int | | | | | | | | | STRATEGY_DEF | | | | | | | | default strategy | | | | | | |int | | | | | | | | | STRATEGY_FILT | | | | | | | | filtered strategy | | | | | | |int | | | | | | | | | STRATEGY_HUFF | | | | | | | | Huffman strategy | | | | | | |int | | | | | | | | | STRATEGY_RLE | | | | | | | | RLE strategy | | | | | | |int | | | | | | | | | STRATEGY_FIXED | | | | | | | | fixed strategy | | | | | | |int | | | | | | | | | FLUSH_NONE | | | | | | | | no forced flush | | | | | | |int | | | | | | | | | FLUSH_SYNC | | | | | | | | synching flush | | | | | | |int | | | | | | | | | FLUSH_FULL | | | | | | | | full flush | | | | | | +-----+---------------------------+---+ EXAMPLES
Example #1 A HttpDeflateStream example <?php $stream = new HttpDeflateStream( HttpDeflateStream::TYPE_GZIP | HttpDeflateStream::LEVEL_MAX | HttpDeflateStream::FLUSH_SYNC); echo $stream->update($data); echo $stream->finish(); ?> PHP Documentation Group HTTPDEFLATESTREAM(3)

Check Out this Related Man Page

CAIROPSSURFACE(3)							 1							 CAIROPSSURFACE(3)

The CairoPsSurface class

INTRODUCTION
CLASS SYNOPSIS
CairoPsSurface CairoPsSurfaceextends CairoSurface Methods o public CairoPsSurface::__construct (string $file, float $width, float $height) o public void CairoPsSurface::dscBeginPageSetup (void ) o public void CairoPsSurface::dscBeginSetup (void ) o public void CairoPsSurface::dscComment (string $comment) o public bool CairoPsSurface::getEps (void ) o publicstatic array CairoPsSurface::getLevels (void ) o publicstatic string CairoPsSurface::levelToString (int $level) o public void CairoPsSurface::restrictToLevel (string $level) o public void CairoPsSurface::setEps (string $level) o public void CairoPsSurface::setSize (string $width, string $height) Inherited methods o public CairoSurface::__construct (void ) o public void CairoSurface::copyPage (void ) o public void CairoSurface::createSimilar (CairoSurface $other, int $content, string $width, string $height) o public void CairoSurface::finish (void ) o public void CairoSurface::flush (void ) o public int CairoSurface::getContent (void ) o public array CairoSurface::getDeviceOffset (void ) o public void CairoSurface::getFontOptions (void ) o public int CairoSurface::getType (void ) o public void CairoSurface::markDirty (void ) o public void CairoSurface::markDirtyRectangle (string $x, string $y, string $width, string $height) o public void CairoSurface::setDeviceOffset (string $x, string $y) o public void CairoSurface::setFallbackResolution (string $x, string $y) o public void CairoSurface::showPage (void ) o public int CairoSurface::status (void ) o public void CairoSurface::writeToPng (string $file) PHP Documentation Group CAIROPSSURFACE(3)
Man Page