Merge pull request #4822 from kurund/indentation-fixes
[civicrm-core.git] / CRM / Report / Form / Contribute / Recur.php
index 10eac19de618ebd3cbc276b4e435b9a9b544183f..c85687427ab9bd3df5e09afaf5895b2a152dbfec 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
 class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
 
-  function __construct() {
+  public function __construct() {
     $this->_columns = array(
       'civicrm_contact' => array(
         'dao' => 'CRM_Contact_DAO_Contact',
@@ -208,11 +208,11 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
     $this->_currencyColumn = 'civicrm_contribution_recur_currency';
     parent::__construct();
   }
-  function getTemplateName() {
+  public function getTemplateName() {
     return 'CRM/Report/Form.tpl' ;
   }
 
-  function from() {
+  public function from() {
     $this->_from = "
       FROM civicrm_contact  {$this->_aliases['civicrm_contact']}
         INNER JOIN civicrm_contribution_recur   {$this->_aliases['civicrm_contribution_recur']}
@@ -229,11 +229,11 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
        {$this->_aliases['civicrm_phone']}.is_primary = 1)";
   }
 
-  function groupBy() {
+  public function groupBy() {
     $this->_groupBy = "GROUP BY " . $this->_aliases['civicrm_contribution_recur'] . ".id";
   }
 
-  function where() {
+  public function where() {
     parent::where();
     // Handle calculated end date. This can come from one of two sources:
     // Either there is a specified end date for the end_date field
@@ -297,7 +297,7 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
   }
 
 
-  function alterDisplay(&$rows) {
+  public function alterDisplay(&$rows) {
     $contributionStatus = CRM_Contribute_PseudoConstant::contributionStatus();
     foreach ($rows as $rowNum => $row) {
       // convert display name to links
@@ -324,4 +324,4 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
       
     }
   }
-}
\ No newline at end of file
+}