Tripal Core Module
- 2.x tripal_core/tripal_core.module tripal_core
- 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
Name | Location | Description |
---|---|---|
chado_add_node_form_dbxrefs_add_button_submit |
tripal_core/ |
Called by the add button in chado_add_node_form_dbxrefs |
chado_add_node_form_dbxrefs_add_button_validate |
tripal_core/ |
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/ |
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/ |
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/ |
Called by the many remove buttons in chado_add_node_form_dbxrefs |
chado_add_node_form_properties_add_button_submit |
tripal_core/ |
Called by the add button in chado_add_node_form_properties |
chado_add_node_form_properties_add_button_validate |
tripal_core/ |
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/ |
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/ |
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/ |
Called by the many remove buttons in chado_add_node_form_properties |
chado_add_node_form_relationships_add_button_submit |
tripal_core/ |
Called by the add button in chado_add_node_form_relationships |
chado_add_node_form_relationships_add_button_validate |
tripal_core/ |
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/ |
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/ |
Handles autocomplete for subject & object id |
chado_add_node_form_relationships_remove_button_submit |
tripal_core/ |
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/ |
Called by the many remove buttons in chado_add_node_form_relationships |
chado_add_node_form_subtable_ajax_update |
tripal_core/ |
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/ |
Generic Sync Form Submit |
chado_node_sync_form_validate |
tripal_core/ |
Generic Sync Form Validate |
chado_schema_get_foreign_key |
tripal_core/ |
Gets the value of a foreign key relationship |
expand_file_upload_combo |
tripal_core/ |
Upload File and keep track of previously uploaded files. |
expand_sequence_combo |
tripal_core/ |
Retrieve Sequence bases form element. |
file_upload_combo_value_callback |
tripal_core/ |
Validate all content passed into the file upload combo form element. |
print_usage |
tripal_core/ |
Print out the usage instructions if they are not followed correctly |
sequence_combo_value_callback |
tripal_core/ |
Validate all content passed into the sequence combo form element D7 @todo: test/fix this callback. |
theme_file_upload_combo |
tripal_core/ |
Theme the file upload combo form element. |
theme_sequence_combo |
tripal_core/ |
Theme the file sequence form element. |
tripal_core_admin_defaultview_custom_tables |
tripal_core/ |
Describes the custom tables administration view. |
tripal_core_admin_defaultview_jobs |
tripal_core/ |
Describes the jobs administration view. |
tripal_core_admin_defaultview_mviews |
tripal_core/ |
Describes the materialized views administration view. |
tripal_core_chado_install_done |
tripal_core/ |
Finish the Chado Schema Installation |
tripal_core_chado_load_form |
tripal_core/ |
Load Chado Schema Form |
tripal_core_chado_load_form_submit |
tripal_core/ |
Submit Load Chado Schema Form |
tripal_core_element_info |
tripal_core/ |
Register form elements. |
tripal_core_exclude_type_by_default |
tripal_core/ |
Implements hook_exclude_type_by_default() |
tripal_core_get_custom_tables_schema |
tripal_core/ |
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/ |
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/ |
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/ |
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/ |
Implements hook_init(). Used to set the search_path, create default content and set default variables. |
tripal_core_install |
tripal_core/ |
Implementation of hook_install(). |
tripal_core_install_chado |
tripal_core/ |
Install Chado Schema |
tripal_core_install_sql |
tripal_core/ |
Execute the provided SQL |
tripal_core_job_describe_args |
tripal_core/ |
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/ |
Implements hook_menu(). Defines all menu items needed by Tripal Core |
tripal_core_node_view |
tripal_core/ |
Implements hook_node_view() |
tripal_core_permission |
tripal_core/ |
Implements hook_permission(). |
tripal_core_reset_chado_schema |
tripal_core/ |
Reset the Chado Schema This drops the current chado and chado-related schema and re-creates it |
tripal_core_schema |
tripal_core/ |
Implementation of hook_schema(). |
tripal_core_set_globals |
tripal_core/ |
This function is used to set the global Chado variables |
tripal_core_theme |
tripal_core/ |
Implements hook_theme(). Registers template files/functions used by this module. |
tripal_core_uninstall |
tripal_core/ |
Implementation of hook_uninstall(). |
tripal_core_views_data |
tripal_core/ |
Describe various Tripal Core systems to Views for the creation of administrative views. |
tripal_core_views_data_custom_tables |
tripal_core/ |
Provides the data array for the tripal custom tables management |
tripal_core_views_data_jobs |
tripal_core/ |
Provides the data array for the tripal job management system |
tripal_core_views_data_mviews |
tripal_core/ |
Provides the data array for the tripal custom tables management |
tripal_core_views_default_views |
tripal_core/ |
Describes core default views |
tripal_jobs_view |
tripal_core/ |
Returns the HTML code to display a given job |
tripal_set_job_progress |
tripal_core/ |
An internal function for setting the progress for a current job |
Sub-Topics
Name | Location | Description |
---|---|---|
Custom Chado Tables |
tripal_core/ |
Contains functions for creating, editing and deleting custom tables on the Tripal website. |
Jobs |
tripal_core/ |
Contains functions related to the display of Tripal jobs in a Tripal website. |
Tripal Materialized Views |
tripal_core/ |
Contains functions for viewing and editing of Materialized Views on a Tripal website. |