PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::resetREST()

PEAR_ChannelFile::resetREST() -- Since REST does not implement RPC, provide this as a logical wrapper around resetFunctions for REST

## Synopsis

    require_once '/ChannelFile.php';

``void PEAR_ChannelFile::resetREST` (string|false [$mirror = `FALSE`])`

## Description

Similar to resetFunctions(), resetREST() removes all REST base URLs in order to start adding new REST functions to a channel.

## Parameter

string|`FALSE` `$mirror`

  mirror name, if any

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::resetFunctions() | Up | PEAR_ChannelFile::setAlias()