function tripal_insert_cv

2.x tripal_cv.api.inc tripal_insert_cv($name, $definition)
3.x tripal_chado.module.DEPRECATED.api.inc tripal_insert_cv($name, $definition)

Adds a controlled vocabulary to the CV table of Chado.

Parameters

$name: The name of the controlled vocabulary. These are typically all lower case with no special characters other than an undrescore (for spaces).

$comment: A description or definition of the vocabulary.

Return value

An object populated with fields from the newly added database.

7 calls to tripal_insert_cv()
tripal_analysis_add_cvterms in legacy/tripal_analysis/tripal_analysis.install
Adds controlled vocabulary terms needed by this module.
tripal_contact_add_cvs in legacy/tripal_contact/tripal_contact.install
Adds any cvs needed by this module.
tripal_cv_add_cv in legacy/tripal_cv/api/tripal_cv.DEPRECATED.inc
tripal_featuremap_add_cvs in legacy/tripal_featuremap/tripal_featuremap.install
Add cvs needed by the featuremap module
tripal_feature_add_cvs in legacy/tripal_feature/tripal_feature.install
Add cvs related to publications

... See full list

1 string reference to 'tripal_insert_cv'
tripal_cv_add_cv in legacy/tripal_cv/api/tripal_cv.DEPRECATED.inc

File

tripal_chado/api/modules/tripal_chado.module.DEPRECATED.api.inc, line 240
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_insert_cv($name, $definition) {
  chado_insert_cv($name, $definition);
}