You are here

function clients_get_connection_types in Web Service Clients 7.2

Same name and namespace in other branches
  1. 6.2 clients.module \clients_get_connection_types()
  2. 7.3 clients.module \clients_get_connection_types()
  3. 7 clients.module \clients_get_connection_types()

Get a list of all connection types.

2 calls to clients_get_connection_types()
clients_connections_list in ./clients.connection.admin.inc
Page callback: list connections.
clients_connection_add in ./clients.connection.admin.inc
Menu callback for adding a new connection.

File

./clients.module, line 335
Clients module provides a UI, storage, and an API for handling connections to remote webservices, including those provided by Services module on other Drupal sites.

Code

function clients_get_connection_types() {
  static $connection_types;
  if (!isset($connection_types)) {

    // Invoke hook_clients_connection_type_info().
    $connection_types = module_invoke_all('clients_connection_type_info');
  }
  return $connection_types;
}