PEAR_ChannelFile::fromXmlString

PEAR_ChannelFile::fromXmlString() – fromXmlString

Synopsis

require_once '/ChannelFile.php';

bool PEAR_ChannelFile::fromXmlString ( string $data )

Description

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

Parameter

string $data

contents of package.xml file

Return value

returns success of parsing

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Parse a channel.xml file. Expects the name of a channel xml file as input. (Previous) Return the suggested alias users can use to refer to this channel on the command-line. (Next)
Last updated: Fri, 24 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.