Tripal
|
Functions | |
tripal_mview_admin_view () | |
tripal_mview_report ($mview_id) | |
tripal_mviews_form ($form, &$form_state=NULL, $mview_id=NULL) | |
tripal_mviews_form_validate ($form, &$form_state) | |
tripal_mviews_form_submit ($form, &$form_state) | |
tripal_mviews_delete_form ($form, &$form_state, $mview_id) | |
tripal_mviews_delete_form_submit ($form, &$form_state) | |
tripal_mviews_add_populate_job ($mview_id) | |
Contains functions for viewing and editing of Materialized Views on a Tripal website.
tripal_mview_admin_view | ( | ) |
Provides a landing page for tripal jobs admin
tripal_mview_report | ( | $mview_id | ) |
A template function which returns markup to display details for the current materialized view
$mview_id | The unique ID of the materialized view to render |
tripal_mviews_add_populate_job | ( | $mview_id | ) |
A wrapper for the chado_refresh_mview() API function, which then redirects back to the admin page for mviews.
$mview_id |
tripal_mviews_delete_form | ( | $form, | |
& | $form_state, | ||
$mview_id | |||
) |
Just a simple form for confirming deletion of a custom table
tripal_mviews_delete_form_submit | ( | $form, | |
& | $form_state | ||
) |
form submit hook for the tripal_custom_tables_delete_form form.
$form | |
$form_state |
tripal_mviews_form | ( | $form, | |
& | $form_state = NULL , |
||
$mview_id = NULL |
|||
) |
A Form to Create/Edit a Materialized View
$form_state | The current state of the form (Form API) |
$mview_id | The unique ID of the Materialized View to Edit or NULL if creating a new materialized view |
$form['traditional']['special_index']= array( '#type' => 'textarea', '#title' => t('View Name'), '#description' => t('Please enter the name for this materialized view.'), '#required' => TRUE, '#default_value' => $default_special_index, );
tripal_mviews_form_submit | ( | $form, | |
& | $form_state | ||
) |
Submit the Create/Edit Materialized View Form Implements hook_form_submit().
tripal_mviews_form_validate | ( | $form, | |
& | $form_state | ||
) |
Validate the Create/Edit Materialized View Form Implements hook_form_validate().