Source for file extractable.php

Documentation is available at extractable.php

  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.  */
  19. {
  20.     /**
  21.      * Extract a compressed file to a given path
  22.      *
  23.      * @param   string  $archive      Path to archive to extract
  24.      * @param   string  $destination  Path to extract archive to
  25.      * @param   array   $options      Extraction options [may be unused]
  26.      *
  27.      * @return  boolean  True if successful
  28.      *
  29.      * @since   12.1
  30.      */
  31.     public function extract($archive$destinationarray $options array());
  32.  
  33.     /**
  34.      * Tests whether this adapter can unpack files on this computer.
  35.      *
  36.      * @return  boolean  True if supported
  37.      *
  38.      * @since   12.1
  39.      */
  40.     public static function isSupported();
  41. }

Documentation generated on Tue, 19 Nov 2013 15:02:46 +0100 by phpDocumentor 1.4.3