[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/phpexcel/PHPExcel/Shared/ -> ZipArchive.php (summary)

(no description)

File Size: 163 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Shared_ZipArchive:: (5 methods):
  open()
  close()
  addFromString()
  locateName()
  getFromName()


Class: PHPExcel_Shared_ZipArchive  - X-Ref

PHPExcel_Shared_ZipArchive

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

open($fileName)   X-Ref
Open a new zip archive

param: string    $fileName    Filename for the zip archive
return: boolean

close()   X-Ref
Close this zip archive


addFromString($localname, $contents)   X-Ref
Add a new file to the zip archive from a string of raw data.

param: string    $localname        Directory/Name of the file to add to the zip archive
param: string    $contents        String of data to add to the zip archive

locateName($fileName)   X-Ref
Find if given fileName exist in archive (Emulate ZipArchive locateName())

param: string        $fileName        Filename for the file in zip archive
return: boolean

getFromName($fileName)   X-Ref
Extract file from archive by given fileName (Emulate ZipArchive getFromName())

param: string        $fileName        Filename for the file in zip archive
return: string  $contents        File string contents



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1