PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::getBaseURL()

PEAR_ChannelFile::getBaseURL() -- Get the URL to access a base resource.

## Synopsis

    require_once '/ChannelFile.php';

``string PEAR_ChannelFile::getBaseURL` (string $resourceType, string|false [$mirror = `FALSE`])`

## Description

Hyperlinks in the returned xml will be used to retrieve the proper information needed. This allows extreme extensibility and flexibility in implementation

## Parameter

string `$resourceType`

  Resource Type to retrieve

mixed `$mirror`

  Mirror name, or false for primary server.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::getAlias() | Up | PEAR_ChannelFile::getErrors()