Difference between revisions of "JArchive::extract"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Extract an archive file to a directory. | Extract an archive file to a directory. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function extract ( | public static function extract ( | ||
Line 36: | Line 34: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JInstallerHelper::unpack | + | ** [[API17:JInstallerHelper::unpack|JInstallerHelper::unpack]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JArchive::extract source code''' on [[jplatform:filesystem/archive.php#cl-24|BitBucket]] | * {{JVer|11.1}} '''JArchive::extract source code''' on [[jplatform:filesystem/archive.php#cl-24|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JArchive | + | * {{JVer|11.1}} Class [[API17:JArchive|JArchive]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JArchive::extract|Other versions of JArchive::extract]] | + | * [[API17:JArchive::extract|Other versions of JArchive::extract]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JArchive::extract | category=JArchive::extract | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 57: | Line 53: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:20, 24 March 2017
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.
JArchive::extract[edit]
Description[edit]
Extract an archive file to a directory.
public static function extract (
$archivename
$extractdir
)
Parameter | Type | Default | Description |
---|---|---|---|
$archivename | string | The name of the archive file | |
$extractdir | string | Directory to unpack into |
- Returns boolean True for success
- Defined on line 32 of libraries/joomla/filesystem/archive.php
- Since
- Referenced by
See also[edit]
- JArchive::extract source code on BitBucket
- Class JArchive
- Subpackage Filesystem
- Other versions of JArchive::extract
User contributed notes[edit]
Code Examples[edit]