JArchive::create/1.5

From Joomla! Documentation
< JArchive::create
Revision as of 19:30, 25 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Joomla 1.5 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

SeeAlso:JArchive::create [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox