[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 175 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

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: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1