function rules_data_type_decay_profile::load in Radioactivity 6
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
Implement it, if your data type is identifiable.
Overrides rules_data_type::load
File
- modules/
radioactivity_rules/ radioactivity_rules.rules.inc, line 24
Class
Code
function load($id) {
$profiles = radioactivity_get_decay_profiles();
$row = $profiles[$id];
$row['id'] = $id;
return $row;
}