Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/reports/reports_event_handler.php
Show First 20 Lines • Show All 328 Lines • ▼ Show 20 Line(s) | |||||
$field_values['from'] = $from; | $field_values['from'] = $from; | ||||
$field_values['to'] = $to; | $field_values['to'] = $to; | ||||
$this->Application->StoreVar('report_options', serialize($field_values)); | $this->Application->StoreVar('report_options', serialize($field_values)); | ||||
} | } | ||||
function OnUpdateConfig(kEvent $event) | function OnUpdateConfig(kEvent $event) | ||||
{ | { | ||||
if ( !$this->Application->isWebRequest() ) { | |||||
return; | |||||
} | |||||
$report = $this->Application->RecallVar('report_options'); | $report = $this->Application->RecallVar('report_options'); | ||||
if ( !$report ) { | if ( !$report ) { | ||||
return; | return; | ||||
} | } | ||||
$field_values = unserialize($report); | $field_values = unserialize($report); | ||||
▲ Show 20 Lines • Show All 479 Lines • Show Last 20 Lines |