Analysis Module
- 2.x tripal_analysis/tripal_analysis.module tripal_analysis
- 3.x legacy/tripal_analysis/tripal_analysis.module tripal_analysis
- 1.x tripal_analysis/tripal_analysis.module tripal_analysis
@file Contains all the main hook implementations for the tripal_analysis module
Provides functions for managing chado analysis' including creating details pages for each one
Parent topics
File
- tripal_analysis/
tripal_analysis.module, line 3 - Contains all the main hook implementations for the tripal_analysis module
Functions
Name | Location | Description |
---|---|---|
tripal_analysis_views_api |
tripal_analysis/ |
Implements hook_views_api() Purpose: Essentially this hook tells drupal that there is views support for for this module which then includes tripal_analysis.views.inc where all the views integration code is |
tripal_analysis_validate |
tripal_analysis/ |
This validation is being used for three activities: CASE A: Update a node that exists in both drupal and chado CASE B: Synchronizing a node from chado to drupal CASE C: Inserting a new node that exists in niether drupal nor chado |
tripal_analysis_unregister_child |
tripal_analysis/ |
Un-register a tripal analysis sub-module |
tripal_analysis_theme |
tripal_analysis/ |
We need to let drupal know about our theme functions and their arguments. We create theme functions to allow users of the module to customize the look and feel of the output generated in this module |
tripal_analysis_sync_analyses |
tripal_analysis/ |
Synchronize analyses from chado to drupal |
tripal_analysis_register_child |
tripal_analysis/ |
Register tripal_analysis sub-modules |
tripal_analysis_perm |
tripal_analysis/ |
Set the permission types that the chado module uses. Essentially we want permissionis that protect creation, editing and deleting of chado data objects |
tripal_analysis_node_info |
tripal_analysis/ |
Provide information to drupal about the node types that we're creating in this module |
tripal_analysis_menu |
tripal_analysis/ |
Implementation of hook_menu(). Entry points and paths of the module |
tripal_analysis_init |
tripal_analysis/ |
Add tripal javascript to page headers |
tripal_analysis_help |
tripal_analysis/ |
Display help and module information |
tripal_analysis_admin_validate |
tripal_analysis/ |
Validate the administrative form @todo Stephen: Why is validate used rather then submit? |
tripal_analysis_admin |
tripal_analysis/ |
Administration page callbacks for the Tripal Analysis module |
tripal_analyses_cleanup |
tripal_analysis/ |
Remove orphaned drupal nodes |
get_tripal_analysis_admin_form_taxonomy_set |
tripal_analysis/ |
Displays the Set Drupal Taxonomy for Analysis Features From |
get_tripal_analysis_admin_form_sync_set |
tripal_analysis/ |
The "sync Analysis in chado with drupal" form |
get_tripal_analysis_admin_form_reindex_set |
tripal_analysis/ |
The "Reindex Analysis Nodes" form |
get_tripal_analysis_admin_form_cleanup_set |
tripal_analysis/ |
The "Clean-up orphaned analysis & nodes" Form |
chado_analysis_view |
tripal_analysis/ |
This function customizes the view of the chado_analysis node. It allows us to generate the markup. |
chado_analysis_validate |
tripal_analysis/ |
Validates the user input before creating an analysis node |
chado_analysis_update |
tripal_analysis/ |
Update analyses |
chado_analysis_load |
tripal_analysis/ |
When a node is requested by the user this function is called to allow us to add auxiliary data to the node object. |
chado_analysis_insert |
tripal_analysis/ |
When a new chado_analysis node is created we also need to add information to our chado_analysis table. This function is called on insert of a new node of type 'chado_analysis' and inserts the necessary information. |
chado_analysis_form |
tripal_analysis/ |
When editing or creating a new node of type 'chado_analysis' we need a form. This function creates the form that will be used for this. |
chado_analysis_delete |
tripal_analysis/ |
Removes analysis from the chado database |
chado_analysis_access |
tripal_analysis/ |
Implement hook_access(). |