You are here

function _wsconfig_get_list in Web Service Data 7

Generate list of web service configurations

2 calls to _wsconfig_get_list()
wsconfig_get_list in modules/wsconfig/wsconfig.module
Gets the list of web service configurations keyed by serial id
wsconfig_get_list_by_name in modules/wsconfig/wsconfig.module
Get list of web service configurations keyed by machine-name

File

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

Code

function _wsconfig_get_list() {

  // @todo add caching layer?
  $query = db_select('wsconfig', 'w');
  $query
    ->fields('w', array(
    'wsconfig_id',
    'title',
    'name',
  ))
    ->orderBy('name', 'DESC');
  $result = $query
    ->execute();
  return $result;
}