PEAR_ChannelFile::fromAny | PEAR_ChannelFile::fromXmlFile |
PEAR_ChannelFile | |
PEAR Manual | |
require_once '/ChannelFile.php'; |
PEAR_ChannelFile
|false
PEAR_ChannelFile::fromArray
(
array
$data
,
mixed
$compatibility = FALSE
,
mixed
$stackClass = 'PEAR_ErrorStack'
)
Use this method with caution. This is intended to allow easy import of a pre-parsed channel.xml from another PEAR_ChannelFile class. It also makes possible the registry storage of channel.xml.
The pre-parsed channel data
returns false if invalid
throws no exceptions thrown
This function should be called statically.
PEAR_ChannelFile::fromAny | PEAR_ChannelFile::fromXmlFile |
PEAR_ChannelFile | |
PEAR Manual | |