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])
Beschreibung
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|FALSE
$mirror
mirror name, if this is not a primary server REST base URL
Fehler-Meldungen
throws
no exceptions thrown
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.