Property | Type | Description | |
---|---|---|---|
$day_table | The table that holds day data. | ||
$day_table_no_prefix | The table that holds day data without prefix. | ||
$event_type | The event type we are dealing with. | ||
$hour_table | The table that holds hour data. | ||
$hour_table_no_prefix | The table that holds hour data without prefix. | ||
$minute_table | The table that holds minute data. | ||
$minute_table_no_prefix | The table that holds minute data without prefix. |
Method | Description | |
---|---|---|
__construct ( $event_type, string $event_data = 'state', $prefix = '' ) | SqlDBStore constructor. | |
buildQueries ( DateTime $start_date, DateTime $end_date, $unit_ids ) : array |
public __construct ( $event_type, string $event_data = 'state', $prefix = '' ) | ||
$event_type | ||
$event_data | string |
public buildQueries ( DateTime $start_date, DateTime $end_date, $unit_ids ) : array | ||
$start_date | DateTime | |
$end_date | DateTime | |
$unit_ids | ||
return | array |
public $day_table_no_prefix |
public $hour_table_no_prefix |