Tripal Views Module
Provides functions for integrating chado with Drupal Views.
File
- tripal_views/
tripal_views.module, line 7 - Basic Tripal Views functionality
Functions
Name | Location | Description |
---|---|---|
tripal_views_admin_integration_view |
tripal_views/ |
Admin launchpad |
tripal_views_biological_data_page |
tripal_views/ |
A landing page for all views of chado content. Simply lists all menu items that are children of it. |
tripal_views_coder_ignore |
tripal_views/ |
Implements hook_coder_ignore(). Defines the path to the file (tripal_views.coder_ignores.txt) where ignore rules for coder are stored |
tripal_views_defaultview_admin_integrations |
tripal_views/ |
Default integrations administration view |
tripal_views_delete_all_integrations |
tripal_views/ |
Purpose: Deletes ALL Tripal Views Integrations. |
tripal_views_get_integration_array_for_chado_table |
tripal_views/ |
Returns the array needed to integrate a given chado table with views |
tripal_views_get_schemas |
tripal_views/ |
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_views_help |
tripal_views/ |
Implements hook_help(). Adds a help page to the module list |
tripal_views_init |
tripal_views/ |
Implements hook_init(). |
tripal_views_install |
tripal_views/ |
Implementation of hook_install(). |
tripal_views_integrate_all_chado_tables |
tripal_views/ |
Integrate all chado tables in the schema api. This integration only occurs once and sets all Chado tables to a priority of 10 |
tripal_views_integration_delete |
tripal_views/ |
Purpose: Deletes integration of a table with the Views module. This function is meant to be called from a menu item. After completion it redirects the user to the views intergation page. |
tripal_views_integration_delete_all_form |
tripal_views/ |
Purpose: Deletes ALL Tripal Views Integrations. This function is meant to be called from a menu item. After completion it redirects the user to the views intergation page. |
tripal_views_integration_delete_all_form_submit |
tripal_views/ |
Purpose: Deletes ALL Tripal Views Integrations. This function is meant to be called from a menu item. After completion it redirects the user to the views intergation page. |
tripal_views_integration_discover_handlers |
tripal_views/ |
Purpose: this function queries all modules currently enabled on the site looking for custom handlers and returns a list of all available handerls. The base View handlers are also included. |
tripal_views_integration_export_form |
tripal_views/ |
Form: The form to export a particular tripal views integration |
tripal_views_integration_form |
tripal_views/ |
Purpose: defines the web form used for specifing the base table, joins and handlers when integrating a table with views. This form is used for both creating a new record and editing an existing record. |
tripal_views_integration_form_submit |
tripal_views/ |
Purpose: inserts or updates the record in the tripal views integration tables. This function is only called if validation is passed. |
tripal_views_integration_form_validate |
tripal_views/ |
Purpose: validates the tripal_views_integration_form after submission |
tripal_views_integration_import_form |
tripal_views/ |
Form: Imports a tripal views integration |
tripal_views_integration_import_form_submit |
tripal_views/ |
Submit: Imports a tripal views integration |
tripal_views_integration_setup_list |
tripal_views/ |
Purpose: Generates a themable table containing the list of integrated tables The look-and-feel of the table can be altered by overriding the theme for tables. |
tripal_views_menu |
tripal_views/ |
Implements hook_menu(). This hook provides details about new menu items added by this module |
tripal_views_permission |
tripal_views/ |
Implements hook_permissions(). |
tripal_views_requirements |
tripal_views/ |
Implementation of hook_requirements(). |
tripal_views_schema |
tripal_views/ |
Implementation of hook_schema(). |
tripal_views_theme |
tripal_views/ |
Implements hook_theme(). |
tripal_views_update_6040 |
tripal_views/ |
Tripal Views Update for 6.x-0.4 |
tripal_views_views_api |
tripal_views/ |
Implements hook_views_api(). |
tripal_views_views_data |
tripal_views/ |
Implements hook_views_data(). |
tripal_views_views_data_alter |
tripal_views/ |
Implements hook_views_data_alter(). Used to add Chado <-> Node Joins & Relationships since you need to add to the $data['node'] to do this |
tripal_views_views_data_tripal_views_tables |
tripal_views/ |
Describes the tripal views integration tables to views for the administration views |
tripal_views_views_default_views |
tripal_views/ |
Implements hook_views_default_views(). |
tripal_views_views_pre_render |
tripal_views/ |
Implements hook_views_pre_render(). |
tripal_views_views_pre_view |
tripal_views/ |
Implementation of hook_views_pre_view(). |
tripal_views_views_schema |
tripal_views/ |
Describe the Tripal Views Schema |
Classes
Name | Location | Description |
---|---|---|
tripal_views_handler_area_action_links |
tripal_views/ |
Provides an area for adding action links to a view. |
tripal_views_handler_field_sequence |
tripal_views/ |
Handles display of sequence data. If will aggregate sequences that need to be aggregated (e.g. coding sequences) and provide |
tripal_views_handler_filter_file_upload |
tripal_views/ |
This Handler provides a file upload field by extending the views_handler_filter object. |
tripal_views_handler_filter_no_results |
tripal_views/ |
This filter ensures that when a page is first loaded, there are no results (ie: the query is not run). This imitates an advanced search form allowing users to fist enter other filter values and then retrieve results. |
tripal_views_handler_filter_select_cvterm |
tripal_views/ |
This Handler provides a select list for the type field |
tripal_views_handler_filter_select_id |
tripal_views/ |
This Handler provides a select list for the type field |
tripal_views_handler_filter_select_string |
tripal_views/ |
This Handler provides a generic select list for any chado field that is a string The select list includes all distinct values for that field. |
tripal_views_handler_filter_sequence |
tripal_views/ |
This Handler provides a file upload field by extending the views_handler_filter object. |
tripal_views_handler_filter_textarea |
tripal_views/ |
This Handler provides a file upload field by extending the views_handler_filter object. |