You are here

function search_autocomplete_get_data in Search Autocomplete 7.4

Get machine name of all search data.

Return value

An associative array, or FALSE if there is no next row.

1 call to search_autocomplete_get_data()
search_autocomplete_config_features_export_options in ./search_autocomplete.features.inc
Implements hook_features_export_options().

File

./search_autocomplete.features.inc, line 130
Search Autocomplete Add support for CTools and feature import/export.

Code

function search_autocomplete_get_data() {
  $codes = db_select('search_autocomplete_forms', 'sa')
    ->fields('sa', array())
    ->execute();
  return $codes
    ->fetchAll();
}