JArchive
Description
An Archive handling class
Located in /joomla/filesystem/archive.php (line 23)
JArchive (Subpackage FileSystem)
Method Summary
void
create
(string $archive, mixed $files, [string $compress = 'tar'], [string $addPath = ''], [string $removePath = ''], [boolean $autoExt = false], [boolean $cleanUp = false])
Methods
void
create
(string $archive, mixed $files, [string $compress = 'tar'], [string $addPath = ''], [string $removePath = ''], [boolean $autoExt = false], [boolean $cleanUp = false])
- string $archive: The name of the archive
- mixed $files: The name of a single file or an array of files
- string $compress: The compression for the archive
- string $addPath: Path to add within the archive
- string $removePath: Path to remove within the archive
- boolean $autoExt: Automatically append the extension for the archive
- boolean $cleanUp: Remove for source files
boolean
extract
(string $archivename, string $extractdir)
- string $archivename: The name of the archive file
- string $extractdir: Directory to unpack into
Documentation generated on Tue, 29 Jan 2008 18:44:16 +0000 by phpDocumentor 1.3.1



JArchive (Subpackage FileSystem)