PEAR_ChannelFile::fromAny (Previous) (Next) PEAR_ChannelFile::fromXmlFile

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

PEAR_ChannelFile::fromArray()

PEAR_ChannelFile::fromArray()  -- fromArray

Synopsis

require_once '/ChannelFile.php';

PEAR_ChannelFile |false PEAR_ChannelFile::fromArray (array $data, mixed [$compatibility = FALSE], mixed [$stackClass = 'PEAR_ErrorStack'])

Description

Utilisez cette méthode avec précaution. Elle est prévue pour autoriser l'importation d'un fichier channel.xml pré-analysé depuis une autre classe PEAR_ChannelFile. Elle rend également possible le stockage dans le registre du fichier channel.xml.

Paramètres

array $data

Les données pré-analysées d'un canal

mixed $compatibility

mixed $stackClass

Valeur retournée

retourne FALSE si invalide.

Valeurs renvoyées

Aucune exception n'est lancée.

Note

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

PEAR_ChannelFile::fromAny (Previous) (Next) PEAR_ChannelFile::fromXmlFile

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.