CV Module

  1. 2.x tripal_cv/tripal_cv.module tripal_cv
  2. 1.x tripal_cv/tripal_cv.module tripal_cv

Parent topics

File

tripal_cv/tripal_cv.module, line 9

Functions

Namesort descending Location Description
tripal_ajax_cv_edit tripal_cv/includes/tripal_cv_admin.inc Purpose: The edit controlled vocabulary javascript
tripal_cv_add_form tripal_cv/includes/tripal_cv_admin.inc Purpose: Provides the Add controlled vocabulary form
tripal_cv_add_form_submit tripal_cv/includes/tripal_cv_admin.inc Purpose: The submit function for the add controlled vocabulary form
tripal_cv_add_obo_defaults tripal_cv/tripal_cv.install Add's defaults to the tripal_cv_obo table
tripal_cv_chart tripal_cv/includes/charts.inc Generates JSON used for generating a Google chart of count data associated with a controlled vocabulary. An example would be features assigned to Gene Ontology terms.
tripal_cv_count_chart tripal_cv/includes/charts.inc This function generates an array with fields compatible with Google charts used for generating pie charts of counts associated with terms in a controlled vocabulary. An example would be counts of features assigned to terms in the Sequence Ontology.
tripal_cv_cvtermpath_form tripal_cv/includes/obo_loader.inc Form for re-doing the cvterm path
tripal_cv_cvtermpath_form_submit tripal_cv/includes/tripal_cv_admin.inc Cvterm path form submit
tripal_cv_cvterm_callback tripal_cv/includes/tripal_cv_admin.inc Purpose: This function gets called when the selecting of a cv from the select list triggers it. This function simply rebuilds the form with new information. No elements are created here
tripal_cv_cvterm_form tripal_cv/includes/tripal_cv_admin.inc Purpose: Provides the form that allows adding of terms to an existing controlled vocabulary
tripal_cv_cvterm_form_submit tripal_cv/includes/tripal_cv_admin.inc Purpose: Adds terms to an existing controlled vocabulary
tripal_cv_cvterm_form_validate tripal_cv/includes/tripal_cv_admin.inc Purpose: Validates the input for adding a cvterm
tripal_cv_cvterm_info tripal_cv/includes/trees.inc Describe a cvterm (Rendered)
tripal_cv_edit_form tripal_cv/includes/tripal_cv_admin.inc Purpose: Provides a form to allow updating/deleteing of controlled vocabularies
tripal_cv_edit_form_submit tripal_cv/includes/tripal_cv_admin.inc Purpose: The submit function of the update/delete controlled vocabulary form
tripal_cv_edit_page tripal_cv/includes/tripal_cv_admin.inc Purpose: Provides the form for Updating and Deleteing existing chado controlled vocabularies (See chado cv table)
tripal_cv_get_schemas tripal_cv/tripal_cv.install This function simply defines all tables needed for the module to work correctly. By putting the table definitions in a separate function we can easily provide the entire list for hook_install or individual tables for an update.
tripal_cv_init tripal_cv/tripal_cv.module Implements hook_init(). Adds CSS and JS needed for this modules rendered content
tripal_cv_init_browser tripal_cv/includes/trees.inc @todo Stephen: describe what this function does
tripal_cv_init_tree tripal_cv/includes/trees.inc Generates JSON needed for jsTree Root-level Branches
tripal_cv_install tripal_cv/tripal_cv.install Implementation of hook_install().
tripal_cv_list_form tripal_cv/includes/trees.inc Form listing CVs
tripal_cv_menu tripal_cv/tripal_cv.module Implements hook_menu(). Registers all menu items associated with this module
tripal_cv_perm tripal_cv/tripal_cv.module Set the permission types that the chado module uses. Essentially we want permissionis that protect creation, editing and deleting of chado data objects
tripal_cv_schema tripal_cv/tripal_cv.install Implementation of hook_schema().
tripal_cv_select_form tripal_cv/includes/tripal_cv_admin.inc Purpose: Provides the actual "Select CV" form on the Update/Delete Controlled Vocabulary page. This form also triggers the edit javascript @todo Modify this form to use Drupal AJAX
tripal_cv_show_browser tripal_cv/includes/trees.inc Renders the cv_list form
tripal_cv_tree tripal_cv/includes/trees.inc Generates JSON used for generating an exapandable tree of terms from a controlled vocabulary that has associated counts.
tripal_cv_uninstall tripal_cv/tripal_cv.install Implementation of hook_uninstall().
tripal_cv_update_tree tripal_cv/includes/trees.inc
tripal_cv_views_api tripal_cv/tripal_cv.module Implements hook_views_api() Purpose: Essentially this hook tells drupal that there is views support for for this module which then includes tripal_cv.views.inc where all the views integration code is

Files

Namesort descending Location Description
obo_loader.inc tripal_cv/includes/obo_loader.inc Tripal Ontology Loader

Sub-Topics

Namesort descending Location Description
Ontology Loader tripal_cv/includes/obo_loader.inc @file Tripal Ontology Loader