PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::getSSL()

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

## Synopsis

    require_once '/ChannelFile.php';

``bool PEAR_ChannelFile::getSSL` (mixed [$mirror = `FALSE`])`

## Description

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

## Parameter

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

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::getServer() | Up | PEAR_ChannelFile::getSummary()