\PHPExcel_Shared_ZipArchive

PHPExcel_Shared_ZipArchive

Summary

Methods
Properties
Constants
open()
close()
addFromString()
No public properties found
OVERWRITE
CREATE
No protected methods found
No protected properties found
N/A
No private methods found
$_tempDir
$_zip
N/A

Constants

OVERWRITE

OVERWRITE = 'OVERWRITE'

constants

CREATE

CREATE = 'CREATE'

Properties

$_tempDir

$_tempDir : string

Temporary storage directory

Type

string

$_zip

$_zip : string

Zip Archive Stream Handle

Type

string

Methods

open()

open(string  $fileName) : boolean

Open a new zip archive

Parameters

string $fileName

Filename for the zip archive

Returns

boolean

close()

close() 

Close this zip archive

addFromString()

addFromString(string  $localname, string  $contents) 

Add a new file to the zip archive from a string of raw data.

Parameters

string $localname

Directory/Name of the file to add to the zip archive

string $contents

String of data to add to the zip archive