abstract class RadioactivityIncidentStorage in Radioactivity 7.2
@file Base class for incident storages
Hierarchy
- class \RadioactivityIncidentStorage
Expanded class hierarchy of RadioactivityIncidentStorage
File
- includes/
RadioactivityIncidentStorage.inc, line 7 - Base class for incident storages
View source
abstract class RadioactivityIncidentStorage {
public function __construct() {
}
/**
* Add incident to the storage system
* @entity_energy Energies by entity id
*/
public function addIncident(RadioactivityIncident $incident) {
// does nothing
}
/**
* Process incidents in the storage
* When this is run depends solely on cron timing & decay pattern granularity
*/
public function processIncidents() {
// nothing to do
}
/**
* Get decay profile attached to this instance
*/
public function getDecayProfile() {
return radioactivity_decay_profile_load($this->settings['profile']);
}
/**
* Does this require boostrapping?
*/
public function requiresBootstrap() {
return TRUE;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RadioactivityIncidentStorage:: |
public | function | Add incident to the storage system @entity_energy Energies by entity id | 5 |
RadioactivityIncidentStorage:: |
public | function | Get decay profile attached to this instance | |
RadioactivityIncidentStorage:: |
public | function | Process incidents in the storage When this is run depends solely on cron timing & decay pattern granularity | 4 |
RadioactivityIncidentStorage:: |
public | function | Does this require boostrapping? | 3 |
RadioactivityIncidentStorage:: |
public | function | 5 |