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.

This function is used by the channel updater and retrieves a value set by the registry, or the current time if it has not been set (Previous) Since REST does not implement RPC, provide this as a logical wrapper around resetFunctions for REST (Next)
Last updated: Fri, 24 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.