Tripal v1.0 (6.x-1.0)
|
Go to the source code of this file.
Functions | |
tripal_feature_admin () | |
tripal_feature_admin_validate ($form, &$form_state) | |
get_tripal_feature_admin_form_cleanup_set (&$form) | |
get_tripal_feature_admin_form_reindex_set (&$form) | |
get_tripal_feature_admin_form_taxonomy_set (&$form) | |
get_tripal_feature_admin_form_url_set (&$form) | |
tripal_features_set_taxonomy ($max_sync=0, $job_id=NULL) | |
tripal_feature_set_taxonomy ($node, $feature_id) | |
tripal_features_cleanup ($dummy=NULL, $job_id=NULL) | |
theme_tripal_feature_search_index ($node) | |
theme_tripal_feature_search_results ($node) | |
tripal_feature_set_vocabulary () |
Definition in file tripal_feature.admin.inc.
get_tripal_feature_admin_form_url_set | ( | &$ | form | ) |
Definition at line 334 of file tripal_feature.admin.inc.
{ $form['url'] = array( '#type' => 'fieldset', '#title' => t('Feature URL Path') ); $form['url']['desc'] = array( '#type' => 'markup', '#value' => t('Each synced feature will have a unique URL which consists of '. 'the site domain followed by a unique identifer: for '. 'example http://my-tripal-site.org/ID1034, where the '. 'element just after the final slash is the unique '. 'identifier for the feature.'), ); $options = array( 'internal ID' => 'Internal ID (Chado feature_id)', 'feature unique name' => 'Feature unique name', 'feature name' => 'Feature name', 'genus_species_uqname' => 'Genus + species + unique name (e.g. http://your.site.url/[genus]/[genus]_[species]/[unique_name]', 'genus_species_name' => 'Genus + species + name (e.g. http://your.site.url/[genus]/[genus]_[species]/[name]', ); $form['url']['chado_feature_url'] = array( '#title' => t('Unique Identifier'), '#type' => 'radios', '#description' => t('Choose an identifier type '. 'from the list above that is guaranteed to be unique in your synced '. 'dataset. If in doubt it is safest to coose the internal ID. '. 'The descrpitor need not be unique amont the total dataset. '. 'It only need be unique among the synced dataset.'), '#required' => FALSE, '#options' => $options, '#default_value' => variable_get('chado_feature_url', 'internal ID'), ); $form['url']['chado_feature_accession_prefix'] = array( '#title' => t('ID Prefix'), '#type' => t('textfield'), '#description' => t("If you choose an Internal ID above you must also enter an ID prefix.". "this prefix will be prepended to the internal ID number (e.g. ID38294). ". "if you chose to use the feature name or unique name then this prfix is not used"), '#required' => TRUE, '#default_value' => variable_get('chado_feature_accession_prefix', 'ID'), ); $form['url']['button'] = array( '#type' => 'submit', '#value' => t('Set Feature URLs'), '#weight' => 3, ); }