Task/ReportServiceData.php
function listServiceNamesOptions() {
    $service_data = $this->loadServiceData();

    $return = array();
    foreach ($service_data['primary'] as $service_id => $service_info) {
      $return[$service_id] = $service_info['label'];
    }

    return $return;
  }
function listServiceNamesOptions() {
    $service_data = $this->loadServiceData();

    $return = array();
    foreach ($service_data['primary'] as $service_id => $service_info) {
      $return[$service_id] = $service_info['label'];
    }

    return $return;
  }
function listServiceNamesOptions ( ) { $ service_data = $ this -> loadServiceData ( ) ; $ return = array ( ) ; foreach ( $ service_data [ 'primary' ] as $ service_id => $ service_info ) { $ return [ $ service_id ] = $ service_info [ 'label' ] ; } return $ return ; }
Get a list of options of the major services.

@return
An array of Service types as options suitable for FormAPI.
Get a list of options of the major services .