JArchiveZip:: addToZIPFile
From Joomla! Documentation
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::_addToZIPFile[edit]
Description[edit]
Adds a "file" to the ZIP archive.
Template:Description:JArchiveZip:: addToZIPFile [Edit Descripton]
Since[edit]
Synopsis[edit]
protected JArchiveZip::_addToZIPFile (&$file, &$contents, &$ctrldir)
Parameter | Type | Default | Description |
---|---|---|---|
&$file | array | File data array to add | |
&$contents | array | An array of existing zipped files. | |
&$ctrldir | array | An array of central directory information. |
Returns[edit]
void
Defined in[edit]
libraries/joomla/filesystem/archive/zip.php (line 447)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JArchiveZip:: addToZIPFile
Examples[edit]
<CodeExamplesForm />