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.

fromArray (Previous) fromXmlString (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.