PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::resetFunctions()

PEAR_ChannelFile::resetFunctions() -- Empty all protocol definitions

## Synopsis

    require_once '/ChannelFile.php';

``void PEAR_ChannelFile::resetFunctions` (string $type, string|false [$mirror = `FALSE`])`

## Description

Clear all functions defined in the channel.xml, in order to start adding a new list.

## Parameter

string `$type`

  protocol type (xmlrpc, soap)

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::lastModified() | Up | PEAR_ChannelFile::resetREST()