function tripal_autocomplete_cvterm
2.x tripal_cv.api.inc | tripal_autocomplete_cvterm($cv_id, $string = '') |
3.x tripal_chado.module.DEPRECATED.api.inc | tripal_autocomplete_cvterm($cv_id, $string = '') |
This function is intended to be used in autocomplete forms for searching for CV terms that begin with the provided string.
Parameters
$cv_id: The CV ID in which to search for the term.
$string: The string to search for.
Return value
A json array of terms that begin with the provided string.
1 call to tripal_autocomplete_cvterm()
- tripal_cv_cvterm_name_autocomplete in legacy/
tripal_cv/ api/ tripal_cv.DEPRECATED.inc
2 string references to 'tripal_autocomplete_cvterm'
- tripal_cv_cvterm_name_autocomplete in legacy/
tripal_cv/ api/ tripal_cv.DEPRECATED.inc - tripal_cv_menu in legacy/
tripal_cv/ tripal_cv.module - Implements hook_menu(). Registers all menu items associated with this module
File
- tripal_chado/
api/ modules/ tripal_chado.module.DEPRECATED.api.inc, line 396 - These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.
Code
function tripal_autocomplete_cvterm($cv_id, $string = '') {
chado_autocomplete_cvterm($cv_id, $string);
}