Difference between revisions of "JArchiveZip::create"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JArchiveZip::create|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JArchiveZip::create|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function create ( |
+ | $archive | ||
+ | $files | ||
+ | $options=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' boolean True if successful. | |
− | boolean True if successful. | + | * '''Defined''' on line 95 of libraries/joomla/filesystem/archive/zip.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/filesystem/archive/zip.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JArchiveZip::create source code''' on [[jplatform:filesystem/archive/zip.php#cl-87|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JArchiveZip/11.1|JArchiveZip]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
+ | * [[JArchiveZip::create|Other versions of JArchiveZip::create]] | ||
+ | {{SeeAlso:JArchiveZip::create}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip::create|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JArchiveZip::create|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 57: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::create]]</noinclude> | <noinclude>[[Category:JArchiveZip]][[Category:JArchiveZip::create]]</noinclude> |
Revision as of 20:10, 27 April 2011
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::create[edit]
Description[edit]
Create a ZIP compressed file from an array of file data.
Template:Description:JArchiveZip::create [Edit Descripton]
public function create (
$archive
$files
$options=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$archive | string | Path to save archive. | |
$files | array | Array of files to add to archive. | |
$options | array | array() | Compression options (unused). |
- Returns boolean True if successful.
- Defined on line 95 of libraries/joomla/filesystem/archive/zip.php
- Since
See also[edit]
- JArchiveZip::create source code on BitBucket
- Class JArchiveZip
- Subpackage Filesystem
- Other versions of JArchiveZip::create
Template:SeeAlso:JArchiveZip::create [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />