PEAR_ChannelFile::toXml() – Return an XML document based on the internal representation of this channel


require_once '/ChannelFile.php';

string PEAR_ChannelFile::toXml ( )


This should be used to generate a channel.xml based on the data stored in the PEAR_ChannelFile class.

Return value

returns XML data


throws no exceptions thrown


This function can not be called statically.

return the channel representation in array format (Previous) Validate channel information. (Next)
Last updated: Mon, 05 Oct 2015 — 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.