|
Tripal
|
Functions | |
| tripal_custom_table_admin_view () | |
| tripal_custom_table_new_page () | |
| tripal_custom_table_view ($table_id) | |
| tripal_custom_tables_form ($form, &$form_state=NULL, $table_id=NULL) | |
| tripal_custom_tables_form_validate ($form, &$form_state) | |
| tripal_custom_tables_form_submit ($form, &$form_state) | |
| tripal_custom_tables_delete_form ($form, &$form_state, $table_id) | |
| tripal_custom_tables_delete_form_submit ($form, &$form_state) | |
Contains functions for creating, editing and deleting custom tables on the Tripal website.
| tripal_custom_table_admin_view | ( | ) |
Provides a landing page for administrating custom tables.
| tripal_custom_table_new_page | ( | ) |
Renders the tripal_custom_tables_form.
| tripal_custom_table_view | ( | $table_id | ) |
A template function which returns markup to display details for the custom table
| $table_id | The unique ID of the custom table |
| tripal_custom_tables_delete_form | ( | $form, | |
| & | $form_state, | ||
| $table_id | |||
| ) |
Just a simple form for confirming deletion of a custom table
| tripal_custom_tables_delete_form_submit | ( | $form, | |
| & | $form_state | ||
| ) |
form submit hook for the tripal_custom_tables_delete_form form.
| $form | |
| $form_state |
| tripal_custom_tables_form | ( | $form, | |
| & | $form_state = NULL, |
||
$table_id = NULL |
|||
| ) |
A Form to Create/Edit a Custom table.
| $form_state | The current state of the form (Form API) |
| $table_id | The unique ID of the Custom table to Edit or NULL if creating a new table |
| tripal_custom_tables_form_submit | ( | $form, | |
| & | $form_state | ||
| ) |
Submit the Create/Edit Custom table form Implements hook_form_submit().
| tripal_custom_tables_form_validate | ( | $form, | |
| & | $form_state | ||
| ) |
Implements hook_validate(). Validate the Create/Edit custom table form.