You are here

function wsconfig_get_list_by_name in Web Service Data 7

Get list of web service configurations keyed by machine-name

4 calls to wsconfig_get_list_by_name()
WsBean::form in modules/wsbeans/plugins/beans/wsbeans_wsbean.inc
Builds extra settings for the block edit form.
wsconfig_context_wsconfig_settings_form in modules/wsconfig/plugins/contexts/wsconfig.inc
wsfields_storage_edit_field_form in modules/wsfields_storage/wsfields_storage.admin.inc
WSField Storage Settings edit form
wshybridfield_field_widget_form in modules/wshybridfield/wshybridfield.module
Implements hook_field_widget_form().

File

modules/wsconfig/wsconfig.module, line 380
Main module for wsconfig

Code

function wsconfig_get_list_by_name() {
  $result = _wsconfig_get_list();
  $list = array();
  while ($record = $result
    ->fetchObject()) {
    $list[$record->name] = $record->title;
  }
  return $list;
}