<?php
-
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
*/
class CRM_Report_Page_Instance extends CRM_Core_Page {
/**
- * run this page (figure out the action needed and perform it).
+ * Run this page (figure out the action needed and perform it).
*
* @return void
*/
- function run() {
+ public function run() {
$instanceId = CRM_Report_Utils_Report::getInstanceID();
if (!$instanceId) {
$instanceId = CRM_Report_Utils_Report::getInstanceIDForPath();
}
- $action = CRM_Utils_Request::retrieve('action', 'String', $this);
+ $action = CRM_Utils_Request::retrieve('action', 'String', $this);
$optionVal = CRM_Report_Utils_Report::getValueFromUrl($instanceId);
$reportUrl = CRM_Utils_System::url('civicrm/report/list', "reset=1");
return CRM_Utils_System::redirect($reportUrl);
}
}
-