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: 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.