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, 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.