4
interface DataInterface {
5
public function GetData($from, $to);
9
function CopyObjectProperties(&$dst, &$src) {
10
foreach ($src as $key => $value) {
18
$this->gid = $props["db_group"];
19
$this->group_table = "log" . $this->gid;
22
$this->mask = $props["db_mask"];
25
$this->interval_initialized = false;
26
if (isset($props['interval_start'])) $this->interval_start = $props['interval_start'];
27
else $this->interval_start = 0;
28
if (isset($props['interval_end'])) $this->interval_end = $props['interval_end'];
29
else $this->interval_end = 0;
31
$this->window_initialized = false;
32
if (isset($props['window_start'])) $this->window_start = $props['window_start'];
33
else $this->window_start = 0;
34
if (isset($props['window_size'])) $this->window_size = $props['window_size'];
35
else $this->window_size = 0;
38
if (!$this->connected) throw new ADEIException(_("The ZEUS database is not specified"));
41
function GetWindowSize() {
42
if (!$this->window_initialized) $this->SetupWindow();
43
return $this->window_size;
b'\\ No newline at end of file'