PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::fromAny()

PEAR_ChannelFile::fromAny() -- Returns channel information from different sources

## Synopsis

    require_once '/ChannelFile.php';

``bool PEAR_ChannelFile::fromAny` (string $info)`

## Description

Parse data from either a string or a channel.xml file.

## Parameter

string `$info`

  Filename of the source, or the source itself

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::addMirrorFunction() | Up | PEAR_ChannelFile::fromArray()