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

View this page in Last updated: Sun, 07 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

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.

Parameter

array $data

The pre-parsed channel data

mixed $compatibility

mixed $stackClass

Return value

returns false if invalid

Throws

throws no exceptions thrown

Note

This function should be called statically.

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

Download Documentation Last updated: Sun, 07 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.