apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: File_Archive_Writer_Gzip

Source Location: /File_Archive-0.1.0/File/Archive/Writer/Gzip.php

Class Overview

File_Archive_Writer_MemoryArchive
   |
   --File_Archive_Writer_Gzip

Compress a single file to Gzip format


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Compress a single file to Gzip format


[ Top ]


Class Variables

$comment =  ""

[line 40]


Type:   mixed


[ Top ]

$compressionLevel =  9

[line 41]


Type:   mixed


[ Top ]

$gzdata =  ""

[line 39]


Type:   mixed


[ Top ]



Method Detail

appendFileData   [line 62]

void appendFileData( $filename, $stat, $data)

  • See: File_Archive_Writer_MemoryArchive::appendFileData

Parameters:

   $filename   — 
   $stat   — 
   $data   — 

[ Top ]

setComment   [line 50]

void setComment( string $comment)

The Gzip file format allows a comment to be put at the end of the file By default, no comments are put there You can change this by calling setComment

Parameters:

string   $comment   — 

[ Top ]

setCompressionLevel   [line 57]

void setCompressionLevel( int $compressionLevel)

Set the compression level

Parameters:

int   $compressionLevel   —  From 0 (no compression) to 9 (best compression)

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:24:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.