API17

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.  
  
{{Description:JArchive::extract}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JArchive::extract|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|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/11.1|JArchive]]
+
* {{JVer|11.1}} Class [[API17:JArchive|JArchive]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JArchive::extract|Other versions of JArchive::extract]]
+
* [[API17:JArchive::extract|Other versions of JArchive::extract]]
{{SeeAlso:JArchive::extract}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JArchive::extract|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JArchive::extract
 
category=JArchive::extract
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 57: Line 53:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JArchive]][[Category:JArchive::extract]]</noinclude>
+
<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.

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]