Difference between revisions of "JArchiveZip:: getFileData"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (preparing for archive only) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Returns the file data for a file by offsest in the ZIP archive. | Returns the file data for a file by offsest in the ZIP archive. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected function _getFileData ($key) | protected function _getFileData ($key) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JArchiveZip::_getFileData source code''' on [[jplatform:filesystem/archive/zip.php#cl-373|BitBucket]] | * {{JVer|11.1}} '''JArchiveZip::_getFileData source code''' on [[jplatform:filesystem/archive/zip.php#cl-373|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JArchiveZip | + | * {{JVer|11.1}} Class [[API17:JArchiveZip|JArchiveZip]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JArchiveZip::_getFileData|Other versions of JArchiveZip::_getFileData]] | + | * [[API17:JArchiveZip::_getFileData|Other versions of JArchiveZip::_getFileData]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JArchiveZip::_getFileData | category=JArchiveZip::_getFileData | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 21:20, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JArchiveZip::_getFileData[edit]
Description[edit]
Returns the file data for a file by offsest in the ZIP archive.
protected function _getFileData ($key)
Parameter | Type | Default | Description |
---|---|---|---|
$key | int | The position of the file in the archive. |
- Returns string Uncompressed file data buffer.
- Defined on line 381 of libraries/joomla/filesystem/archive/zip.php
- Since
See also[edit]
- JArchiveZip::_getFileData source code on BitBucket
- Class JArchiveZip
- Subpackage Filesystem
- Other versions of JArchiveZip::_getFileData
User contributed notes[edit]
Code Examples[edit]