function clients_get_connection_types in Web Service Clients 7
Same name and namespace in other branches
- 6.2 clients.module \clients_get_connection_types()
- 7.3 clients.module \clients_get_connection_types()
- 7.2 clients.module \clients_get_connection_types()
Get a list of all connection types.
4 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 - Form builder for adding a connection.
- clients_connection_drupal_services::connectionSettingsForm in backends/
clients_drupal/ clients_drupal.inc - Form builder for adding or editing connections of this class.
- clients_get_connection in ./
clients.module - Create a connection object which can then be used to make method calls.
File
- ./
clients.module, line 673 - Clients module - handles keys and service connections and provides an API for clients
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;
}