Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
extractable.php
Aller à la documentation de ce fichier.
1 <?php
2 /**
3  * @package Joomla.Platform
4  * @subpackage Archive
5  *
6  * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
7  * @license GNU General Public License version 2 or later; see LICENSE
8  */
9 
10 defined('JPATH_PLATFORM') or die;
11 
12 /**
13  * Archieve class interface
14  *
15  * @package Joomla.Platform
16  * @subpackage Archive
17  * @since 12.1
18  */
20 {
21  /**
22  * Extract a compressed file to a given path
23  *
24  * @param string $archive Path to archive to extract
25  * @param string $destination Path to extract archive to
26  * @param array $options Extraction options [may be unused]
27  *
28  * @return boolean True if successful
29  *
30  * @since 12.1
31  */
32  public function extract($archive, $destination, array $options = array());
33 
34  /**
35  * Tests whether this adapter can unpack files on this computer.
36  *
37  * @return boolean True if supported
38  *
39  * @since 12.1
40  */
41  public static function isSupported();
42 }