|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for PHPExcel_Shared_ZipArchive:Public Member Functions | |
| open ($fileName) | |
| Open a new zip archive. More... | |
| close () | |
| Close this zip archive. More... | |
| addFromString ($localname, $contents) | |
| Add a new file to the zip archive from a string of raw data. More... | |
| locateName ($fileName) | |
| Find if given fileName exist in archive (Emulate ZipArchive locateName()) More... | |
| getFromName ($fileName) | |
| Extract file from archive by given fileName (Emulate ZipArchive getFromName()) More... | |
Data Fields | |
| const | OVERWRITE = 'OVERWRITE' |
| constants More... | |
| const | CREATE = 'CREATE' |
Private Attributes | |
| $_tempDir | |
| $_zip | |
Definition at line 41 of file ZipArchive.php.
| PHPExcel_Shared_ZipArchive::addFromString | ( | $localname, | |
| $contents | |||
| ) |
Add a new file to the zip archive from a string of raw data.
| string | $localname | Directory/Name of the file to add to the zip archive |
| string | $contents | String of data to add to the zip archive |
Definition at line 95 of file ZipArchive.php.
References $contents, $res, PCLZIP_OPT_ADD_PATH, and PCLZIP_OPT_REMOVE_PATH.
| PHPExcel_Shared_ZipArchive::close | ( | ) |
| PHPExcel_Shared_ZipArchive::getFromName | ( | $fileName | ) |
Extract file from archive by given fileName (Emulate ZipArchive getFromName())
| string | $fileName | Filename for the file in zip archive |
Definition at line 141 of file ZipArchive.php.
References $contents, $filename, and PCLZIP_OPT_EXTRACT_AS_STRING.
| PHPExcel_Shared_ZipArchive::locateName | ( | $fileName | ) |
Find if given fileName exist in archive (Emulate ZipArchive locateName())
| string | $fileName | Filename for the file in zip archive |
Definition at line 120 of file ZipArchive.php.
| PHPExcel_Shared_ZipArchive::open | ( | $fileName | ) |
Open a new zip archive.
| string | $fileName | Filename for the zip archive |
Definition at line 70 of file ZipArchive.php.
References PHPExcel_Shared_File\sys_get_temp_dir().
Here is the call graph for this function:
|
private |
Definition at line 54 of file ZipArchive.php.
|
private |
Definition at line 61 of file ZipArchive.php.
| const PHPExcel_Shared_ZipArchive::CREATE = 'CREATE' |
Definition at line 46 of file ZipArchive.php.
| const PHPExcel_Shared_ZipArchive::OVERWRITE = 'OVERWRITE' |
constants
Definition at line 45 of file ZipArchive.php.