Merge pull request #4814 from atif-shaikh/CRM-14199Improvement
[civicrm-core.git] / CRM / Contact / Controller / Search.php
index 542fb268406e04c98e934c8d051fa96ed609206b..3fe4bf449704853f9b1752a3734bb2f1bb77e075 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,9 +47,9 @@
 class CRM_Contact_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
-  function __construct($title = NULL, $modal = TRUE, $action = CRM_Core_Action::NONE) {
+  public function __construct($title = NULL, $modal = TRUE, $action = CRM_Core_Action::NONE) {
     parent::__construct($title, $modal);
 
     $this->_stateMachine = new CRM_Contact_StateMachine_Search($this, $action);
@@ -61,6 +61,9 @@ class CRM_Contact_Controller_Search extends CRM_Core_Controller {
     $this->addActions();
   }
 
+  /**
+   * @return mixed
+   */
   public function selectorName() {
     return $this->get('selectorName');
   }
@@ -95,4 +98,3 @@ class CRM_Contact_Controller_Search extends CRM_Core_Controller {
   }
 
 }
-