PEAR_ChannelFile::fromXmlFile()

PEAR_ChannelFile::fromXmlFile()  --  Parse a channel.xml file. Expects the name of a channel xml file as input.

Synopsis

require_once '/ChannelFile.php';

bool PEAR_ChannelFile::fromXmlFile (string $descfile)

Description

Parse the contents of a channel.xml and store in the current PEAR_ChannelFile object.

Parameter

string $descfile

name of channel xml file

Return value

returns success of parsing

Throws

throws no exceptions thrown

Note

This function can not be called statically.