You are here

function radioactivity_get_decay_profiles in Radioactivity 6

Retrieves decay profiles in array. The array key is decay profile id (positive int) and the value is the decay profile. The profile is array as follows: "label" -> The profile label "description -> The profile description "half_life" -> The radioactivity half-life (in seconds)

15 calls to radioactivity_get_decay_profiles()
radioactivity_admin_delete_profile_form in ./radioactivity-admin-ui.inc
radioactivity_admin_delete_profile_form_submit in ./radioactivity-admin-ui.inc
radioactivity_admin_profile_form in ./radioactivity-admin-ui.inc
radioactivity_admin_profile_form_submit in ./radioactivity-admin-ui.inc
radioactivity_admin_profile_list in ./radioactivity-admin-ui.inc

... See full list

File

./radioactivity.inc, line 42

Code

function radioactivity_get_decay_profiles() {
  return variable_get("radioactivity_profiles", array());
}