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.

Empty all protocol definitions (Previous) Set the channel alias (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.