INFRA-132 - CRM/Profile - phpcbf
[civicrm-core.git] / CRM / Profile / Form / Search.php
index 79126f0e11a16efaa63f7c0c23efd314e6295cff..f89d2e173dd738c537e2662c3b26ad37344d595e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
 class CRM_Profile_Form_Search extends CRM_Profile_Form {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * @param
    *
    * @return void
    *
-   * @access public
    *
    */
-  function preProcess() {
+  public function preProcess() {
     $this->_mode = CRM_Profile_Form::MODE_SEARCH;
     parent::preProcess();
   }
@@ -61,11 +60,10 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
   /**
    * Set the default form values
    *
-   * @access protected
    *
    * @return array the default array reference
    */
-  function setDefaultValues() {
+  public function setDefaultValues() {
     $defaults = array();
     // note we intentionally overwrite value since we use it as defaults
     // and its all pass by value
@@ -104,7 +102,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
    * Build the form object
    *
    * @return void
-   * @access public
    */
   public function buildQuickForm() {
     // Is proximity search enabled for this profile?
@@ -130,10 +127,9 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
   /**
    *
    *
-   * @access public
    *
    * @return void
    */
-  public function postProcess() {}
+  public function postProcess() {
+  }
 }
-