PEAR_ChannelFile::setBaseURL()

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

概要

require_once '/ChannelFile.php';

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

説明

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

パラメータ

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 no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。