You are here

function forena_categories_autocomplete in Forena Reports 7.2

Same name and namespace in other branches
  1. 8 forena.module \forena_categories_autocomplete()
  2. 6.2 forena.module \forena_categories_autocomplete()
  3. 6 forena.module \forena_categories_autocomplete()
  4. 7.5 forena.module \forena_categories_autocomplete()
  5. 7 forena.module \forena_categories_autocomplete()
  6. 7.3 forena.module \forena_categories_autocomplete()
  7. 7.4 forena.module \forena_categories_autocomplete()

Auto complete for categories

1 string reference to 'forena_categories_autocomplete'
forena_menu in ./forena.module
Implementation of hook_menu.

File

./forena.module, line 316

Code

function forena_categories_autocomplete($string = '') {
  require_once 'forena.admin.inc';
  $categories = forena_get_categories($string);
  print drupal_json_output($categories);
}