PEAR_ChannelFile::getBaseURL

PEAR_ChannelFile::getBaseURL() – ベースリソースにアクセスするための URL を取得する

Synopsis

require_once '/ChannelFile.php';

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

Description

返される xml の中のハイパーリンクを使用して、必要な情報を取得します。 これにより、究極の拡張性と柔軟性をもった実装を行うことができます。

Parameter

string $resourceType

取得するリソースの型。

mixed $mirror

ミラーの名前。プライマリサーバを使用する場合は false。

Throws

例外はスローされません。

Note

This function can not be called statically.