function forena_categories_autocomplete in Forena Reports 7.5
Same name and namespace in other branches
- 8 forena.module \forena_categories_autocomplete()
- 6.2 forena.module \forena_categories_autocomplete()
- 6 forena.module \forena_categories_autocomplete()
- 7 forena.module \forena_categories_autocomplete()
- 7.2 forena.module \forena_categories_autocomplete()
- 7.3 forena.module \forena_categories_autocomplete()
- 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 475
Code
function forena_categories_autocomplete($string = '') {
require_once 'forena.admin.inc';
$categories = @forena_get_categories($string);
print drupal_json_output($categories);
}