PEAR_ChannelFile
|false
PEAR_ChannelFile::fromArray
(
array
$data
,
mixed
$compatibility
= = false
,
mixed
$stackClass = 'PEAR_ErrorStack'
)
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.
Les données pré-analysées d'un canal
retourne FALSE si invalide.
No exceptions thrown.
This function should be called statically.