Stock Module

  1. 2.x tripal_stock/tripal_stock.module tripal_stock
  2. 1.x tripal_stock/tripal_stock.module tripal_stock

Provides functions for managing chado stocks including creating details pages for each stock

The Tripal Stock Module provides functionality for adding, editing, deleting and accessing chado stocks. The stock module was designed to store information about stock collections in a laboratory. What is called a stock could also be called a strain or an accession. There is a lot in common between a Drosophila stock and a Saccharomyces strain and an Arabidopsis line. They all come from some taxon, have genotypes, physical locations in the lab, some conceivable relationship with a publication, some conceivable relationship with a sequence feature (such as a transgene), and could be described by some ontology term. For more information about the chado Stock Module see the GMOD Wiki Page (http://gmod.org/wiki/Chado_Stock_Module)

Parent topics

File

tripal_stock/tripal_stock.module, line 8
Implements Tripal Stock Module hooks

Functions

Namesort descending Location Description
chado_stock_access tripal_stock/tripal_stock.module Implement hook_access().
chado_stock_delete tripal_stock/tripal_stock.module Implements hook_delete(): Handles deleting of chado_stocks
chado_stock_form tripal_stock/tripal_stock.module Implements hook_form(): Creates the main Add/Edit/Delete Form for chado stocks
chado_stock_insert tripal_stock/tripal_stock.module Implements hook_insert(): Inserts data from chado_stock_form() into drupal and chado
chado_stock_load tripal_stock/tripal_stock.module Implements hook_load(): Prepares the chado_stock node
chado_stock_update tripal_stock/tripal_stock.module Implements hook_update(): Handles Editing/Updating of main stock info
chado_stock_validate tripal_stock/tripal_stock.module Implements hook_validate(): Validate the input from the chado_stock node form
cs_node_load tripal_stock/tripal_stock.module Implements Menu wildcard_load hook
get_tripal_stock_admin_form_cleanup_set tripal_stock/includes/tripal_stock.admin.inc
theme_tripal_stock_edit_ALL_db_references_form tripal_stock/includes/tripal_stock-db_references.inc Themes the Edit All Database References for a stock form
theme_tripal_stock_edit_ALL_properties_form tripal_stock/includes/tripal_stock-properties.inc
theme_tripal_stock_edit_ALL_relationships_form tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_add_ALL_dbreferences_page tripal_stock/includes/tripal_stock-db_references.inc Display the ADD Database References to Stock Page
tripal_stock_add_ALL_property_page tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_add_ALL_relationships_page tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_add_chado_properties_navigate tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_add_chado_properties_navigate_submit tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_add_chado_properties_progress tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_add_ONE_dbreference_form tripal_stock/includes/tripal_stock-db_references.inc Implements Hook_form(): Handles adding of Database References to Stocks
tripal_stock_add_ONE_dbreference_form_submit tripal_stock/includes/tripal_stock-db_references.inc Implements hoook_form_submit(): Actually adds the db reference to the stock
tripal_stock_add_ONE_dbreference_form_validate tripal_stock/includes/tripal_stock-db_references.inc Implements hook_form_validate(): Validates the input from tripal_stock_add_ONE_dbreference_form()
tripal_stock_add_ONE_property_form tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_add_ONE_property_form_submit tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_add_ONE_property_form_validate tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_add_ONE_relationship_form tripal_stock/includes/tripal_stock-relationships.inc Implements Hook_form(): Handles adding of Relationships to Stocks
tripal_stock_add_ONE_relationship_form_submit tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_add_ONE_relationship_form_validate tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_admin tripal_stock/includes/tripal_stock.admin.inc Purpose: Provide administration options for chado_stocks
tripal_stock_admin_validate tripal_stock/includes/tripal_stock.admin.inc Implements hook_form_validate(): Validates user input
tripal_stock_back_to_stock_button tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_back_to_stock_button_submit tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_block tripal_stock/tripal_stock.module Purpose: Implement Blocks relating to stock content
tripal_stock_cleanup tripal_stock/includes/tripal_stock.admin.inc Remove orphaned drupal nodes
tripal_stock_delete_db_reference tripal_stock/includes/tripal_stock-db_references.inc Deletes a given database reference
tripal_stock_delete_property tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_delete_relationship tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_edit_ALL_dbreferences_page tripal_stock/includes/tripal_stock-db_references.inc Display the EDIT Database References to Stock Page
tripal_stock_edit_ALL_db_references_form tripal_stock/includes/tripal_stock-db_references.inc Implements Hook_form(): Handles adding of Database References to Stocks
tripal_stock_edit_ALL_db_references_form_submit tripal_stock/includes/tripal_stock-db_references.inc Implements hook_form_submit(): Actually edits the database references
tripal_stock_edit_ALL_properties_form tripal_stock/includes/tripal_stock-properties.inc Implements Hook_form(): Handles adding of Properties & Synonyms to Stocks
tripal_stock_edit_ALL_properties_form_submit tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_edit_ALL_properties_page tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_edit_ALL_relationships_form tripal_stock/includes/tripal_stock-relationships.inc Implements Hook_form()
tripal_stock_edit_ALL_relationships_form_submit tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_edit_ALL_relationships_form_validate tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_edit_ALL_relationships_page tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_is_obsolete_form tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_is_obsolete_form_submit tripal_stock/includes/tripal_stock-secondary_tables.inc
tripal_stock_list_dbreferences_for_node tripal_stock/includes/tripal_stock-db_references.inc List all database references for a given node
tripal_stock_list_properties_for_node tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_list_relationships_for_node tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_menu tripal_stock/tripal_stock.module Implements hook_menu(): Adds menu items for the tripal_stock
tripal_stock_nodeapi tripal_stock/tripal_stock.module Implementation of hook_nodeapi(). Display stock information for associated organisms This function also provides contents for indexing
tripal_stock_node_info tripal_stock/tripal_stock.module Implements hook_node_info(): registers a stock node type
tripal_stock_perm tripal_stock/tripal_stock.module Implementation of hook_perm().
tripal_stock_preprocess_tripal_stock_relationships tripal_stock/tripal_stock.module
tripal_stock_sync_stock tripal_stock/includes/tripal_stock.sync_stocks.inc
tripal_stock_sync_stocks tripal_stock/includes/tripal_stock.sync_stocks.inc
tripal_stock_theme tripal_stock/tripal_stock.module Implements hook_theme(): Register themeing functions for this module
tripal_stock_update_db_reference tripal_stock/includes/tripal_stock-db_references.inc Updates a Database Reference
tripal_stock_update_property tripal_stock/includes/tripal_stock-properties.inc
tripal_stock_update_relationship tripal_stock/includes/tripal_stock-relationships.inc
tripal_stock_views_api tripal_stock/tripal_stock.module Implements hook_views_api()