JArchive::create/1.5
From Joomla! Documentation
JArchive::create
Description
Description:JArchive::create [Edit Descripton]
public function create ( $archive $files $compress= 'tar' $addPath= '' $removePath= '' $autoExt=false $cleanUp=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $archive | string | The name of the archive | |
| $files | mixed | The name of a single file or an array of files | |
| $compress | string | 'tar' | The compression for the archive |
| $addPath | string | Path to add within the archive | |
| $removePath | string | Path to remove within the archive | |
| $autoExt | boolean | false | Automatically append the extension for the archive |
| $cleanUp | boolean | false | Remove for source files |
- Returns
- Defined on line 170 of libraries/joomla/filesystem/archive.php
See also
-
JArchive::create on api.joomla.org
-
JArchive source code on JoomlaCode
-
Class JArchive
-
Subpackage Filesystem
- Other versions of JArchive::create
SeeAlso:JArchive::create [Edit See Also]
User contributed notes
<CodeExamplesForm />