PEAR_ChannelFile::getSSL() – get SSL support for a channel or mirror


require_once '/ChannelFile.php';

bool PEAR_ChannelFile::getSSL ( mixed $mirror = false )


This function can be used to determine whether a channel or mirror requires a secure connection through SSL in order to access the packages.


string|FALSE $mirror

Mirror name or false for primary server

Return value

returns Determines whether secure sockets layer (SSL) is used to connect to this channel


throws no exceptions thrown


This function can not be called statically.

Retrieve the channel server (Previous) Get channel summary (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.