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

SPLFILEINFO(3)								 1							    SPLFILEINFO(3)

The SplFileInfo class

INTRODUCTION
The SplFileInfo class offers a high-level object oriented interface to information for an individual file. CLASS SYNOPSIS
SplFileInfo SplFileInfo Methods o public SplFileInfo::__construct (string $file_name) o public int SplFileInfo::getATime (void ) o public string SplFileInfo::getBasename ([string $suffix]) o public int SplFileInfo::getCTime (void ) o public string SplFileInfo::getExtension (void ) o public SplFileInfo SplFileInfo::getFileInfo ([string $class_name]) o public string SplFileInfo::getFilename (void ) o public int SplFileInfo::getGroup (void ) o public int SplFileInfo::getInode (void ) o public string SplFileInfo::getLinkTarget (void ) o public int SplFileInfo::getMTime (void ) o public int SplFileInfo::getOwner (void ) o public string SplFileInfo::getPath (void ) o public SplFileInfo SplFileInfo::getPathInfo ([string $class_name]) o public string SplFileInfo::getPathname (void ) o public int SplFileInfo::getPerms (void ) o public string SplFileInfo::getRealPath (void ) o public int SplFileInfo::getSize (void ) o public string SplFileInfo::getType (void ) o public bool SplFileInfo::isDir (void ) o public bool SplFileInfo::isExecutable (void ) o public bool SplFileInfo::isFile (void ) o public bool SplFileInfo::isLink (void ) o public bool SplFileInfo::isReadable (void ) o public bool SplFileInfo::isWritable (void ) o public SplFileObject SplFileInfo::openFile NULL ([string $open_mode = "r"], [bool $use_include_path = false], [resource $context]) o public void SplFileInfo::setFileClass ([string $class_name = "SplFileObject"]) o public void SplFileInfo::setInfoClass ([string $class_name = "SplFileInfo"]) o public void SplFileInfo::__toString (void ) PHP Documentation Group SPLFILEINFO(3)
Man Page