PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::toXml()

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

## Synopsis

    require_once '/ChannelFile.php';

``string PEAR_ChannelFile::toXml` ()`

## Description

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

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::toArray() | Up | PEAR_ChannelFile::validate()