Library Module
- 2.x tripal_library/tripal_library.module tripal_library
- 1.x tripal_library/tripal_library.module tripal_library
Provides functions for managing chado libraries including creating details pages for each library
Parent topics
File
- tripal_library/
tripal_library.module, line 3
Functions
Name | Location | Description |
---|---|---|
chado_library_access |
tripal_library/ |
Implement hook_access(). |
chado_library_delete |
tripal_library/ |
Delete data from drupal and chado databases when a node is deleted |
chado_library_form |
tripal_library/ |
When editing or creating a new node of type 'chado_library' we need a form. This function creates the form that will be used for this. |
chado_library_insert |
tripal_library/ |
When a new chado_library node is created we also need to add information to our chado_library table. This function is called on insert of a new node of type 'chado_library' and inserts the necessary information. |
chado_library_load |
tripal_library/ |
When a node is requested by the user this function is called to allow us to add auxiliary data to the node object. |
chado_library_update |
tripal_library/ |
Update nodes |
chado_library_validate |
tripal_library/ |
validates submission of form when adding or updating a library node |
chado_library_view |
tripal_library/ |
This function customizes the view of the chado_library node. It allows us to generate the markup. This function is required for node [Preview] |
get_tripal_library_admin_form_cleanup_set |
tripal_library/ |
|
get_tripal_library_admin_form_reindex_set |
tripal_library/ |
|
get_tripal_library_admin_form_sync_set |
tripal_library/ |
|
get_tripal_library_admin_form_taxonomy_set |
tripal_library/ |
|
theme_tripal_library_node_libraries |
tripal_library/ |
This function shows library information on an organism/feature node |
theme_tripal_library_search_index |
tripal_library/ |
This function is an extension of the chado_feature_view and chado_organism_view by providing the markup for the library object THAT WILL BE INDEXED. |
tripal_library_add_taxonomy |
tripal_library/ |
Add the library as a taxonomy term for associating with library_features |
tripal_library_admin |
tripal_library/ |
Administrative settings form |
tripal_library_admin_validate |
tripal_library/ |
|
tripal_library_block |
tripal_library/ |
Display block with libraries |
tripal_library_cleanup |
tripal_library/ |
Remove orphaned drupal nodes |
tripal_library_cron |
tripal_library/ |
|
tripal_library_feature_set_taxonomy |
tripal_library/ |
|
tripal_library_get_schemas |
tripal_library/ |
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_library_help |
tripal_library/ |
Display help and module information |
tripal_library_install |
tripal_library/ |
Implementation of hook_install(). |
tripal_library_library_access |
tripal_library/ |
The following function proves access control for users trying to perform actions on data managed by this module |
tripal_library_menu |
tripal_library/ |
Menu items are automatically added for the new node types created by this module to the 'Create Content' Navigation menu item. This function adds more menu items needed for this module. |
tripal_library_nodeapi |
tripal_library/ |
Implementation of hook_nodeapi(). Display library information for associated features or organisms This function also provides contents for indexing |
tripal_library_node_info |
tripal_library/ |
Provide information to drupal about the node types that we're creating in this module |
tripal_library_perm |
tripal_library/ |
Set the permission types that the chado module uses. Essentially we want permissionis that protect creation, editing and deleting of chado data objects |
tripal_library_reindex_features |
tripal_library/ |
|
tripal_library_schema |
tripal_library/ |
Implementation of hook_schema(). |
tripal_library_sync_libraries |
tripal_library/ |
|
tripal_library_taxonify_features |
tripal_library/ |
|
tripal_library_theme |
tripal_library/ |
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_library_uninstall |
tripal_library/ |
Implementation of hook_uninstall(). |
tripal_library_update_6000 |
tripal_library/ |
Update for Drupal 6.x, Tripal 1.0 This update |
tripal_library_views_api |
tripal_library/ |
Implements hook_views_api() Purpose: Essentially this hook tells drupal that there is views support for for this module which then includes tripal_db.views.inc where all the views integration code is |
tripal_project_update_6000 |
tripal_project/ |
Update for Drupal 6.x, Tripal 1.0 This update |