Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe Bzip2
+ Graphe d'héritage de Bzip2:

Fonctions membres publiques

 __construct ($options=array())
 
 extract ($archive, $destination)
 

Fonctions membres publiques statiques

static isSupported ()
 

Attributs protégés

 $options = array()
 

Attributs privés

 $data
 

Description détaillée

Bzip2 format adapter for the Archive package

Depuis
1.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $options = array())

Create a new Archive object.

Paramètres
array | \ArrayAccess$optionsAn array of options
Depuis
1.0
Exceptions

Références Bzip2\$options.

Documentation des fonctions membres

◆ extract()

extract (   $archive,
  $destination 
)

Extract a Bzip2 compressed file to a given path

Paramètres
string$archivePath to Bzip2 archive to extract
string$destinationPath to extract archive to
Renvoie
boolean True if successful
Depuis
1.0
Exceptions

Implémente ExtractableInterface.

Références $buffer, $input, $output, Stream\getStream(), null, et File\write().

◆ isSupported()

static isSupported ( )
static

Tests whether this adapter can unpack files on this computer.

Renvoie
boolean True if supported
Depuis
1.0

Implémente ExtractableInterface.

Documentation des champs

◆ $data

$data
private

◆ $options

$options = array()
protected

Référencé par Bzip2\__construct().


La documentation de cette classe a été générée à partir du fichier suivant :