PEAR_ChannelFile::supportsREST() – Determines whether a channel supports any Representational State Transfer (REST) resources


require_once '/ChannelFile.php';

bool PEAR_ChannelFile::supportsREST ( string $mirror = false )


This does not check to see which REST resources are supported, use getBaseURL() to check specific REST resource or resource group support.


string|FALSE $mirror

Mirror server name or FALSE for the primary server.


throws no exceptions thrown


This function can not be called statically.

determines whether a webservices function is supported by a channel (Previous) return the channel representation in array format (Next)
Last updated: Sat, 28 Nov 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.