PEAR_ChannelFile::resetFunctions() – Empty all protocol definitions


require_once '/ChannelFile.php';

void PEAR_ChannelFile::resetFunctions ( string $type , string|false $mirror = false )


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


string $type

protocol type (xmlrpc, soap)

string|FALSE $mirror

mirror name, if any


throws no exceptions thrown


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: Mon, 31 Aug 2015 — 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.