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 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 class CRM_Batch_Form_Search
extends CRM_Core_Form
{
24 public function setDefaultValues() {
27 $status = CRM_Utils_Request
::retrieve('status', 'Positive', CRM_Core_DAO
::$_nullObject, FALSE, 1);
29 $defaults['batch_status'] = $status;
33 public function buildQuickForm() {
34 $this->add('text', 'title', ts('Find'),
35 CRM_Core_DAO
::getAttribute('CRM_Batch_DAO_Batch', 'title')
42 'name' => ts('Search'),
48 parent
::buildQuickForm();
49 $this->assign('suppressForm', TRUE);