PEAR_ChannelFile::setBaseURL

PEAR_ChannelFile::setBaseURL() – set the base URL for a REST resource, or set of REST resources

Synopsis

require_once '/ChannelFile.php';

void PEAR_ChannelFile::setBaseURL ( string $resourceType , string $url , string|false $mirror = false )

Description

Set the base URL that users should use to access a REST resource or set of REST resources.

Parameter

string $resourceType

Resource Type this url links to

string $url

URL

string|FALSE $mirror

mirror name, if this is not a primary server REST base URL

Throws

throws no exceptions thrown

Note

This function can not be called statically.