PEAR_ChannelFile::validChannelServer()

PEAR_ChannelFile::validChannelServer()  -- Test whether a string contains a valid channel server.

概要

require_once '/ChannelFile.php';

bool PEAR_ChannelFile::validChannelServer (string $server)

説明

determines whether a channel server is a valid servername.

パラメータ

string $server

Server name. May contain subpaths as in foo.example.com/path/to/channel

例外・エラー

throws no exceptions thrown

注意

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