RadioactivityLiveIncidentStorage.inc in Radioactivity 7.2
Live Incident storage class
File
includes/RadioactivityLiveIncidentStorage.incView source
<?php
/**
* @file Live Incident storage class
*/
class RadioactivityLiveIncidentStorage extends RadioactivityIncidentStorage {
/**
* Constructor
*/
public function __construct() {
parent::__construct();
}
/**
* Add incident directly to the db
*/
public function addIncident(RadioactivityIncident $incident) {
if ($incident && $incident
->floodCheck()) {
$incident
->updateEnergy();
}
}
}
Classes
Name![]() |
Description |
---|---|
RadioactivityLiveIncidentStorage | @file Live Incident storage class |