PEAR_PackageFile::factory (Previous) (Next) PEAR_PackageFile::fromArray

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_PackageFile::fromAnyFile()

PEAR_PackageFile::fromAnyFile()  -- Retourne les informations du paquet depuis différentes sources

Description

Cette méthode est capable d'extraire les informations d'un paquet depuis l'archive .tgz ou depuis le XML du fichier de définition du paquet.

Paramètres

chaîne de caractères $info

Chemin vers un fichier contenant package.xml (archive du paquet ou package.xml)

entier $state

Statut du paquet (une constante parmis PEAR_VALIDATE_* )

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction devrait être appelée de façon statique.

PEAR_PackageFile::factory (Previous) (Next) PEAR_PackageFile::fromArray

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.