Merge pull request #4819 from eileenmcnaughton/CRM-15680
[civicrm-core.git] / CRM / Event / Form / SearchEvent.php
index 1728b091f496cee1e91556b8afdac6fb9eb562e7..3e3087e0ec15fd1b1f6e5a2d94e048e4ec81a610 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_Event_Form_SearchEvent extends CRM_Core_Form {
 
-  function setDefaultValues() {
+  /**
+   * @return array
+   */
+  public function setDefaultValues() {
     $defaults = array();
     $defaults['eventsByDates'] = 0;
 
@@ -48,9 +51,8 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
   }
 
   /**
-   * Build the form
+   * Build the form object
    *
-   * @access public
    *
    * @return void
    */
@@ -83,7 +85,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
       ));
   }
 
-  function postProcess() {
+  public function postProcess() {
     $params = $this->controller->exportValues($this->_name);
     $parent = $this->controller->getParent();
     $parent->set('searchResult', 1);
@@ -108,4 +110,3 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
     }
   }
 }
-