Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2014-12-16-01-08-03
[civicrm-core.git] / CRM / Report / Form / Contribute / OrganizationSummary.php
index 6ee9e29aa78f47f4ee271878297bb32d1f861351..d58ddbff8d116d6d68ad6c341094b78db9627c3b 100644 (file)
@@ -88,7 +88,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
             'title' => ts('Contact Type'),
           ),
           'contact_sub_type' => array(
-            'title' => ts('Contact SubType'),
+            'title' => ts('Contact Subtype'),
           ),
         ),
         'filters' => array(
@@ -363,6 +363,9 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
     $this->endPostProcess($rows);
   }
 
+  /**
+   * Set variables to be accessed by API and form layer in processing
+   */
   function beginPostProcessCommon() {
     $getRelationship = $this->_params['relationship_type_id_value'];
     $type = substr($getRelationship, -3);
@@ -376,6 +379,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
       $this->otherContact = 'contact_id_b';
     }
   }
+
   function validRelationships() {
     $this->relationTypes = $relationTypes = array();