API17

Difference between revisions of "JArchiveZip::create"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JArchiveZip->create ($archive, $files, $options=array())
+
public JArchiveZip::create ($archive, $files, $options=array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 40:
 
boolean True if successful.
 
boolean True if successful.
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/archive/zip.php
+
libraries/joomla/filesystem/archive/zip.php (line 95)
 +
* see source code in [[jplatform:filesystem/archive/zip.php#cl-95|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:55, 23 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.

Joomla 11.1 JArchiveZip::create[edit]

Description[edit]

Create a ZIP compressed file from an array of file data.

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

Since[edit]

Joomla 11.1

Synopsis[edit]

public JArchiveZip::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[edit]

boolean True if successful.

Defined in[edit]

libraries/joomla/filesystem/archive/zip.php (line 95)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JArchiveZip::create

Examples[edit]

<CodeExamplesForm />