Merge pull request #4981 from totten/master-cbf2
[civicrm-core.git] / CRM / Case / Form / Report.php
index 8b2f51d4b31aada2676296f58828f2f44ccddfd1..0499dd51abcb6d557226d2a6a1b3fe5595ffe8e3 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -60,7 +60,8 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
    * Build the form object
    *
    * @return void
-   */ function preProcess() {
+   */
+  public function preProcess() {
     $this->_caseID = CRM_Utils_Request::retrieve('caseid', 'Integer', $this, TRUE);
     $this->_clientID = CRM_Utils_Request::retrieve('cid', 'Integer', $this, TRUE);
     $this->_activitySetName = CRM_Utils_Request::retrieve('asn', 'String', $this, TRUE);
@@ -83,7 +84,8 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
       return;
     }
 
-    $includeActivites = array(1 => ts('All Activities'),
+    $includeActivites = array(
+      1 => ts('All Activities'),
       2 => ts('Exclude Completed Activities'),
     );
     $includeActivitesGroup = $this->addRadio('include_activities',
@@ -134,4 +136,5 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
     );
     $this->set('report', $contents);
   }
+
 }