Merge pull request #4606 from johanv/CRM-15636-price_set_event_and_contribution
[civicrm-core.git] / CRM / Group / Form / Search.php
index 54eecf6bb1df9a0b6bded4ce9fd63ba9cf49f1b0..28140f4b10a7d7750633cb03634863207feb754a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -38,7 +38,10 @@ class CRM_Group_Form_Search extends CRM_Core_Form {
     parent::preProcess();
   }
 
-  function setDefaultValues() {
+  /**
+   * @return array
+   */
+  public function setDefaultValues() {
     $defaults = array();
     $defaults['group_status[1]'] = 1;
     return $defaults;
@@ -88,7 +91,7 @@ class CRM_Group_Form_Search extends CRM_Core_Form {
     $this->assign('suppressForm', TRUE);
   }
 
-  function postProcess() {
+  public function postProcess() {
     $params = $this->controller->exportValues($this->_name);
     $parent = $this->controller->getParent();
     if (!empty($params)) {
@@ -106,4 +109,3 @@ class CRM_Group_Form_Search extends CRM_Core_Form {
     }
   }
 }
-