<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
parent::preProcess();
}
- function setDefaultValues() {
+ /**
+ * @return array
+ */
+ public function setDefaultValues() {
$defaults = array();
$defaults['group_status[1]'] = 1;
return $defaults;
);
$this->addButtons(array(
- array(
- 'type' => 'refresh',
- 'name' => ts('Search'),
- 'isDefault' => TRUE,
- ),
- ));
+ array(
+ 'type' => 'refresh',
+ 'name' => ts('Search'),
+ 'isDefault' => TRUE,
+ ),
+ ));
parent::buildQuickForm();
$this->assign('suppressForm', TRUE);
}
- function postProcess() {
+ public function postProcess() {
$params = $this->controller->exportValues($this->_name);
$parent = $this->controller->getParent();
if (!empty($params)) {
}
}
}
-}
+}