Difference between revisions of "JArchive"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JArchive== | ||
+ | ===Description=== | ||
+ | {{Description:JArchive}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JArchive|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JArchive|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public static | ||
|[[JArchive::extract/11.1|extract]] | |[[JArchive::extract/11.1|extract]] | ||
|Extract an archive file to a directory. | |Extract an archive file to a directory. | ||
|- | |- | ||
+ | |public static | ||
|[[JArchive::getAdapter/11.1|getAdapter]] | |[[JArchive::getAdapter/11.1|getAdapter]] | ||
|Get a file compression adapter. | |Get a file compression adapter. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/filesystem/archive.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.filesystem.archive' );</source> | <source lang="php">jimport( 'joomla.filesystem.archive' );</source> | ||
===See also=== | ===See also=== | ||
− | * JArchive source code | + | * {{JVer|11.1}} '''JArchive source code''' on [[jplatform:filesystem/archive.php|BitBucket]] |
− | * [[JArchive|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Filesystem/11.1|Filesystem]] |
+ | * [[JArchive|Other versions of JArchive]] | ||
{{SeeAlso:JArchive}} | {{SeeAlso:JArchive}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JArchive|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JArchive|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 41: | Line 41: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JArchive]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JArchive]]</noinclude> |
Revision as of 17:55, 27 April 2011
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[edit]
Description[edit]
Template:Description:JArchive [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | extract | Extract an archive file to a directory. |
public static | getAdapter | Get a file compression adapter. |
- Defined in libraries/joomla/filesystem/archive.php
Importing[edit]
jimport( 'joomla.filesystem.archive' );
See also[edit]
- JArchive source code on BitBucket
- Subpackage Filesystem
- Other versions of JArchive
Template:SeeAlso:JArchive [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />