Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Shared_ZipArchive
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Shared_ZipArchive

PHPExcel_Shared_ZipArchive

Package: PHPExcel\Shared\ZipArchive
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Shared/ZipArchive.php
Methods summary
public boolean
# open( string $fileName )

Open a new zip archive

Open a new zip archive

Parameters

$fileName
Filename for the zip archive

Returns

boolean
public
# close( )

Close this zip archive

Close this zip archive

public
# addFromString( string $localname, string $contents )

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

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

Parameters

$localname
Directory/Name of the file to add to the zip archive
$contents
String of data to add to the zip archive
public boolean
# locateName( string $fileName )

Find if given fileName exist in archive (Emulate ZipArchive locateName())

Find if given fileName exist in archive (Emulate ZipArchive locateName())

Parameters

$fileName
Filename for the file in zip archive

Returns

boolean
public string
# getFromName( string $fileName )

Extract file from archive by given fileName (Emulate ZipArchive getFromName())

Extract file from archive by given fileName (Emulate ZipArchive getFromName())

Parameters

$fileName
Filename for the file in zip archive

Returns

string
$contents File string contents
Constants summary
string OVERWRITE

constants

constants

# 'OVERWRITE'
string CREATE
# 'CREATE'
Properties summary
private string $_tempDir

Temporary storage directory

Temporary storage directory

#
private string $_zip

Zip Archive Stream Handle

Zip Archive Stream Handle

#
Autene API documentation generated by ApiGen