3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
14 * @copyright CiviCRM LLC https://civicrm.org/licensing
18 * This class is used by the Search functionality.
20 * - the search controller is used for building/processing multiform
23 * Typically the first form will display the search criteria and its results
25 * The second form is used to process search results with the associated actions
28 class CRM_Contribute_Controller_Search
extends CRM_Core_Controller
{
33 * @param string $title
34 * @param bool|int $action
37 public function __construct($title = NULL, $action = CRM_Core_Action
::NONE
, $modal = TRUE) {
39 parent
::__construct($title, $modal);
40 $this->_stateMachine
= new CRM_Contribute_StateMachine_Search($this, $action);
41 $this->addPages($this->_stateMachine
, $action);