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