function tripal_cv_obo_form_submit
2.x tripal_cv.obo_loader.inc | tripal_cv_obo_form_submit($form, &$form_state) |
1.x obo_loader.inc | tripal_cv_obo_form_submit($form, &$form_state) |
Purpose: The submit function for the load ontology form. It registers a tripal job to run the obo_loader.php script
Related topics
File
- tripal_cv/
includes/ obo_loader.inc, line 106 - Tripal Ontology Loader
Code
function tripal_cv_obo_form_submit($form, &$form_state) {
$obo_id = $form_state['values']['obo_id'];
$obo_name = $form_state['values']['obo_name'];
$obo_url = $form_state['values']['obo_url'];
$obo_file = $form_state['values']['obo_file'];
tripal_cv_submit_obo_job($obo_id, $obo_name, $obo_url, $obo_file);
}