API17

Difference between revisions of "JArchiveZip:: addToZIPFile"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JArchiveZip::_addToZIPFile|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JArchiveZip::_addToZIPFile|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JArchiveZip::_addToZIPFile (&$file, &$contents, &$ctrldir)
+
protected function _addToZIPFile (
 +
        &$file
 +
        &$contents
 +
        &$ctrldir
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
void
+
* '''Defined''' on line 447 of libraries/joomla/filesystem/archive/zip.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/archive/zip.php (line 447)
 
* see source code in [[jplatform:filesystem/archive/zip.php#cl-447|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JArchiveZip::_addToZIPFile source code''' on [[jplatform:filesystem/archive/zip.php#cl-439|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JArchiveZip|JArchiveZip]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
 +
* [[API17:JArchiveZip::_addToZIPFile|Other versions of JArchiveZip::_addToZIPFile]]
 +
{{SeeAlso:JArchiveZip::_addToZIPFile}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::_addToZIPFile|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::_addToZIPFile|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JArchiveZip/11.1|JArchiveZip]]
+
===User contributed notes===
* [[JArchiveZip::_addToZIPFile|Other versions of this method]]
 
{{SeeAlso:JArchiveZip::_addToZIPFile}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 58: Line 58:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::_addToZIPFile]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 19:43, 11 May 2013

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[edit]

Description[edit]

Adds a "file" to the ZIP archive.

Template:Description:JArchiveZip:: addToZIPFile [Edit Descripton]

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

See also[edit]

Template:SeeAlso:JArchiveZip:: addToZIPFile [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />