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.

Set the channel alias (Previous) Set a channel's protocols to the protocols supported by pearweb (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.