function tripal_bulk_loader_preprocess_tripal_bulk_loader_template
2.x tripal_bulk_loader.theme.inc | tripal_bulk_loader_preprocess_tripal_bulk_loader_template(&$variables) |
3.x tripal_bulk_loader.theme.inc | tripal_bulk_loader_preprocess_tripal_bulk_loader_template(&$variables) |
1.x tripal_bulk_loader.module | tripal_bulk_loader_preprocess_tripal_bulk_loader_template(&$variables) |
Preprocessor function for the tripal_bulk_loader template
Related topics
File
- tripal_bulk_loader/
tripal_bulk_loader.module, line 514 - The functions for the Tripal bulk loader.
Code
function tripal_bulk_loader_preprocess_tripal_bulk_loader_template(&$variables) {
$sql = "SELECT * FROM {tripal_bulk_loader_template} WHERE template_id=%d";
$template = db_fetch_object(db_query($sql, $variables['template_id']));
$template->template_array = unserialize($template->template_array);
$variables['template'] = $template;
}