You are here

public static function ServicesClientConnectionRestServerFormatter::getFormatters in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/plugins/ServicesClientConnectionRestServer.inc \ServicesClientConnectionRestServerFormatter::getFormatters()

Get list of available formatters

1 call to ServicesClientConnectionRestServerFormatter::getFormatters()
ServicesClientConnectionRestServer::configForm in services_client_connection/plugins/ServicesClientConnectionRestServer.inc
Implements configForm().

File

services_client_connection/plugins/ServicesClientConnectionRestServer.inc, line 183

Class

ServicesClientConnectionRestServerFormatter

Code

public static function getFormatters() {
  $output = array();
  foreach (self::$request_formatters as $id => $info) {
    $output[$id] = $info['title'];
  }
  return $output;
}