+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
/**
- *
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
*/
/**
* - the search controller is used for building/processing multiform
* searches.
*
- * Typically the first form will display the search criteria and it's results
+ * Typically the first form will display the search criteria and its results
*
- * The second form is used to process search results with the asscociated actions
+ * The second form is used to process search results with the associated actions
*
*/
class CRM_Contribute_Controller_Search extends CRM_Core_Controller {
public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
parent::__construct($title, $modal);
-
$this->_stateMachine = new CRM_Contribute_StateMachine_Search($this, $action);
-
- // create and instantiate the pages
$this->addPages($this->_stateMachine, $action);
-
- // add all the actions
- $config = CRM_Core_Config::singleton();
$this->addActions();
}