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.

Joomla 11.1 JArchiveZip::_addToZIPFile


Adds a "file" to the ZIP archive.

protected function _addToZIPFile (
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 void
  • Defined on line 447 of libraries/joomla/filesystem/archive/zip.php
  • Since Joomla 11.1

See also

User contributed notes

Code Examples