PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::supportsREST()

PEAR_ChannelFile::supportsREST() -- Determines whether a channel supports any Representational State Transfer (REST) resources

## Synopsis

    require_once '/ChannelFile.php';

``bool PEAR_ChannelFile::supportsREST` (string [$mirror = `FALSE`])`

## Description

This does not check to see which REST resources are supported, use getBaseURL() to check specific REST resource or resource group support.

## Parameter

string|`FALSE` `$mirror`

  Mirror server name or `FALSE` for the primary server.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::supports() | Up | PEAR_ChannelFile::toArray()