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


require_once '/ChannelFile.php';

string PEAR_ChannelFile::getBaseURL ( string $resourceType , string|false $mirror = false )


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


string $resourceType

Resource Type to retrieve

mixed $mirror

Mirror name, or false for primary server.


throws no exceptions thrown


This function can not be called statically.

Return the suggested alias users can use to refer to this channel on the command-line. (Previous) Wrapper to PEAR_ErrorStack::getErrors() (Next)
Last updated: Sat, 10 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.