Stock Module

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

Integrates the Chado Stock module with Drupal Nodes & Views

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)

File

tripal_stock/tripal_stock.module, line 15
Basic functionality for stocks

Functions

Namesort descending Location Description
chado_stock_chado_node_sync_create_new_node tripal_stock/includes/tripal_stock.chado_node.inc Used by Tripal Chado Node API during sync'ing of nodes
chado_stock_delete tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_delete(). Handles deleting of chado_stocks
chado_stock_form tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_form(). Creates the main Add/Edit/Delete Form for chado stocks
chado_stock_insert tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_insert(). Inserts data from chado_stock_form() into drupal and chado
chado_stock_load tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_load().
chado_stock_update tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_update(). Handles Editing/Updating of main stock info
chado_stock_validate tripal_stock/includes/tripal_stock.chado_node.inc 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
tripal_stock_add_organism_count_mview tripal_stock/tripal_stock.install Creates a materialized view that stores the type & number of stocks per organism
tripal_stock_admin tripal_stock/includes/tripal_stock.admin.inc Provide administration options for chado_stocks
tripal_stock_admin_stock_view tripal_stock/includes/tripal_stock.admin.inc Admin launchpad
tripal_stock_admin_validate tripal_stock/includes/tripal_stock.admin.inc Implements hook_form_validate(): Validates user input
tripal_stock_defaultvalue_user_stocks tripal_stock/tripal_stock.views_default.inc Defines the stock user search default view.
tripal_stock_defaultview_admin_stocks tripal_stock/tripal_stock.views_default.inc Default stock administration view
tripal_stock_disable tripal_stock/tripal_stock.install Implements hook_disable(). Disable default views when module is disabled
tripal_stock_form_alter tripal_stock/tripal_stock.module Implementation of hook_form_alter().
tripal_stock_help tripal_stock/tripal_stock.module Implements hook_help(). Adds a help page to the module list
tripal_stock_install tripal_stock/tripal_stock.install Implementation of hook_install().
tripal_stock_load_organism_stock_counts tripal_stock/tripal_stock.module Load the arguments for the organism stock counts browser
tripal_stock_menu tripal_stock/tripal_stock.module Implements hook_menu(). Adds menu items for the tripal_stock
tripal_stock_node_access tripal_stock/tripal_stock.module Implement hook_node_access().
tripal_stock_node_info tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_node_info(). Registers a stock node type
tripal_stock_node_insert tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_node_insert(). Acts on all content types.
tripal_stock_node_presave tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_node_presave(). Acts on all content types.
tripal_stock_node_update tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_node_update(). Acts on all content types.
tripal_stock_node_view tripal_stock/includes/tripal_stock.chado_node.inc Implements hook_node_view(). Acts on all content types.
tripal_stock_permission tripal_stock/tripal_stock.module Implements hook_permission(). Set the permission types that the chado stock module uses
tripal_stock_preprocess_tripal_stock_relationships tripal_stock/theme/tripal_stock.theme.inc Implements hook_preprocess_tripal_stock_relationships() which is the preprocess hook for the tripal_stock_relationships template
tripal_stock_requirements tripal_stock/tripal_stock.install Implementation of hook_requirements().
tripal_stock_schema tripal_stock/tripal_stock.install Implementation of hook_schema().
tripal_stock_theme tripal_stock/tripal_stock.module Implements hook_theme(). Register themeing functions for this module
tripal_stock_uninstall tripal_stock/tripal_stock.install Implementation of hook_uninstall().
tripal_stock_views_api tripal_stock/tripal_stock.module Implements hook_views_api().
tripal_stock_views_default_views tripal_stock/tripal_stock.views_default.inc Implements hook_views_default_views().