Tripal Core Module

  1. 2.x tripal_core/tripal_core.module tripal_core
  2. 1.x tripal_core/tripal_core.module tripal_core

Functionality useful for all other Tripal modules including the Tripal jobs, files, materialized views and custom table functions.

File

tripal_core/tripal_core.module, line 7
The Tripal Core module

Functions

Namesort descending Location Description
chado_add_node_form_dbxrefs_add_button_submit tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc Called by the add button in chado_add_node_form_dbxrefs
chado_add_node_form_dbxrefs_add_button_validate tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc Validate the user input for creating a new dbxref Called by the add button in chado_add_node_form_dbxrefs
chado_add_node_form_dbxrefs_create_dbxref_formstate_array tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc Creates an array in form_state containing the existing addtl_dbxrefs. This array is then modified by the add/remove buttons and used as a source for rebuilding the form. This function get's called at each button (add and remove) button submits…
chado_add_node_form_dbxrefs_remove_button_submit tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc Remove the correct dbxref from the form Called by the many remove buttons in chado_add_node_form_dbxrefs
chado_add_node_form_dbxrefs_remove_button_validate tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc Called by the many remove buttons in chado_add_node_form_dbxrefs
chado_add_node_form_properties_add_button_submit tripal_core/api/tripal_core.chado_nodes.properties.api.inc Called by the add button in chado_add_node_form_properties
chado_add_node_form_properties_add_button_validate tripal_core/api/tripal_core.chado_nodes.properties.api.inc Validate the user input for creating a new property Called by the add button in chado_add_node_form_properties
chado_add_node_form_properties_create_property_formstate_array tripal_core/api/tripal_core.chado_nodes.properties.api.inc Creates an array in form_state containing the existing properties. This array is then modified by the add/remove buttons and used as a source for rebuilding the form. This function get's called at each button (add and remove) button submits the…
chado_add_node_form_properties_remove_button_submit tripal_core/api/tripal_core.chado_nodes.properties.api.inc Remove the correct property from the form Called by the many remove buttons in chado_add_node_form_properties
chado_add_node_form_properties_remove_button_validate tripal_core/api/tripal_core.chado_nodes.properties.api.inc Called by the many remove buttons in chado_add_node_form_properties
chado_add_node_form_relationships_add_button_submit tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Called by the add button in chado_add_node_form_relationships
chado_add_node_form_relationships_add_button_validate tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Validate the user input for creating a new relationship. Called by the add button in chado_add_node_form_relationships.
chado_add_node_form_relationships_create_relationship_formstate_array tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Creates an array in form_state containing the existing relationships. This array is then modified by the add/remove buttons and used as a source for rebuilding the form.
chado_add_node_form_relationships_name_to_id_callback tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Handles autocomplete for subject & object id
chado_add_node_form_relationships_remove_button_submit tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Remove the correct relationship from the form Called by the many remove buttons in chado_add_node_form_relationships
chado_add_node_form_relationships_remove_button_validate tripal_core/api/tripal_core.chado_nodes.relationships.api.inc Called by the many remove buttons in chado_add_node_form_relationships
chado_add_node_form_subtable_ajax_update tripal_core/api/tripal_core.chado_nodes.api.inc Ajax function which returns the section of the form to be re-rendered for either the properties, dbxref or relationship sub-sections.
chado_node_sync_form_submit tripal_core/api/tripal_core.chado_nodes.api.inc Generic Sync Form Submit
chado_node_sync_form_validate tripal_core/api/tripal_core.chado_nodes.api.inc Generic Sync Form Validate
chado_schema_get_foreign_key tripal_core/api/tripal_core.chado_query.api.inc Gets the value of a foreign key relationship
expand_file_upload_combo tripal_core/includes/tripal_core.form_elements.inc Upload File and keep track of previously uploaded files.
expand_sequence_combo tripal_core/includes/tripal_core.form_elements.inc Retrieve Sequence bases form element.
file_upload_combo_value_callback tripal_core/includes/tripal_core.form_elements.inc Validate all content passed into the file upload combo form element.
print_usage tripal_core/tripal_launch_job.php Print out the usage instructions if they are not followed correctly
sequence_combo_value_callback tripal_core/includes/tripal_core.form_elements.inc Validate all content passed into the sequence combo form element D7 @todo: test/fix this callback.
theme_file_upload_combo tripal_core/includes/tripal_core.form_elements.inc Theme the file upload combo form element.
theme_sequence_combo tripal_core/includes/tripal_core.form_elements.inc Theme the file sequence form element.
tripal_core_admin_defaultview_custom_tables tripal_core/tripal_core.views_default.inc Describes the custom tables administration view.
tripal_core_admin_defaultview_jobs tripal_core/tripal_core.views_default.inc Describes the jobs administration view.
tripal_core_admin_defaultview_mviews tripal_core/tripal_core.views_default.inc Describes the materialized views administration view.
tripal_core_chado_install_done tripal_core/includes/tripal_core.chado_install.inc Finish the Chado Schema Installation
tripal_core_chado_load_form tripal_core/includes/tripal_core.chado_install.inc Load Chado Schema Form
tripal_core_chado_load_form_submit tripal_core/includes/tripal_core.chado_install.inc Submit Load Chado Schema Form
tripal_core_element_info tripal_core/includes/tripal_core.form_elements.inc Register form elements.
tripal_core_exclude_type_by_default tripal_core/tripal_core.module Implements hook_exclude_type_by_default()
tripal_core_get_custom_tables_schema tripal_core/tripal_core.install Describes the Tripal Custom Tables (tripal_custom_tables) table This keeps track of tables created by Tripal and stored in chado that may or may not also be materialized views.
tripal_core_get_jobs_schema tripal_core/tripal_core.install Describes the Tripal Jobs (tripal_jobs) table This table keeps track of all tripal jobs including their current status and is used by tripal_launch_jobs to determine which jobs need to be run
tripal_core_get_mviews_schema tripal_core/tripal_core.install Describes the Tripal Materialized View (tripal_mviews) table This table keeps track of all materialized views created by Tripal and stored in chado
tripal_core_get_schemas tripal_core/tripal_core.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_core_init tripal_core/tripal_core.module Implements hook_init(). Used to set the search_path, create default content and set default variables.
tripal_core_install tripal_core/tripal_core.install Implementation of hook_install().
tripal_core_install_chado tripal_core/includes/tripal_core.chado_install.inc Install Chado Schema
tripal_core_install_sql tripal_core/includes/tripal_core.chado_install.inc Execute the provided SQL
tripal_core_job_describe_args tripal_core/tripal_core.module Implements hook_job_describe_args(). Describes the arguments for the tripal_populate_mview job to allow for greater readability in the jobs details pages.
tripal_core_menu tripal_core/tripal_core.module Implements hook_menu(). Defines all menu items needed by Tripal Core
tripal_core_node_view tripal_core/tripal_core.module Implements hook_node_view()
tripal_core_permission tripal_core/tripal_core.module Implements hook_permission().
tripal_core_reset_chado_schema tripal_core/includes/tripal_core.chado_install.inc Reset the Chado Schema This drops the current chado and chado-related schema and re-creates it
tripal_core_schema tripal_core/tripal_core.install Implementation of hook_schema().
tripal_core_set_globals tripal_core/tripal_core.module This function is used to set the global Chado variables
tripal_core_theme tripal_core/tripal_core.module Implements hook_theme(). Registers template files/functions used by this module.
tripal_core_uninstall tripal_core/tripal_core.install Implementation of hook_uninstall().
tripal_core_views_data tripal_core/tripal_core.views.inc Describe various Tripal Core systems to Views for the creation of administrative views.
tripal_core_views_data_custom_tables tripal_core/tripal_core.views.inc Provides the data array for the tripal custom tables management
tripal_core_views_data_jobs tripal_core/tripal_core.views.inc Provides the data array for the tripal job management system
tripal_core_views_data_mviews tripal_core/tripal_core.views.inc Provides the data array for the tripal custom tables management
tripal_core_views_default_views tripal_core/tripal_core.views_default.inc Describes core default views
tripal_jobs_view tripal_core/includes/tripal_core.jobs.inc Returns the HTML code to display a given job
tripal_set_job_progress tripal_core/api/tripal_core.jobs.api.inc An internal function for setting the progress for a current job

Sub-Topics

Namesort descending Location Description
Custom Chado Tables tripal_core/includes/tripal_core.custom_tables.inc Contains functions for creating, editing and deleting custom tables on the Tripal website.
Jobs tripal_core/includes/tripal_core.jobs.inc Contains functions related to the display of Tripal jobs in a Tripal website.
Tripal Materialized Views tripal_core/includes/tripal_core.mviews.inc Contains functions for viewing and editing of Materialized Views on a Tripal website.