PEAR_PackageFile::fromTgzFile (Previous) (Next) PEAR_PackageFile::parserFactory

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

PEAR_PackageFile::fromXmlString()

PEAR_PackageFile::fromXmlString()  -- fromXmlString

Description

Analyse et retourne un objet package.xml ou un objet PEAR_Error en cas d'erreur.

Paramètres

chaîne de caractères $data

Contenu du fichier package.xml

entier $state

Statut du paquet (une constante parmis PEAR_VALIDATE_*)

chaîne de caractères $file

Chemin complet vers le fichier package.xml (et des fichiers dont il fait référence)

chaîne de caractères|FALSE $archive

Chemin complet vers le fichier .tgz contenant le package.xml ou FALSE sinon.

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction ne peut pas être appelée de façon statique.

PEAR_PackageFile::fromTgzFile (Previous) (Next) PEAR_PackageFile::parserFactory

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.