$this->_done = FALSE;
- $this->loadStandardSearchOptionsFromUrl();
- $this->loadFormValues();
-
- if ($this->_force) {
- $this->postProcess();
- $this->set('force', 0);
- }
+ parent::preProcess();
$this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
$selector = new CRM_Grant_Selector_Search($this->_queryParams,
$this->_done = TRUE;
- $this->_formValues = $this->controller->exportValues($this->_name);
+ $this->setFormValues();
$this->fixFormValues();
if (isset($this->_ssID) && empty($_POST)) {
$this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
- $this->set('formValues', $this->_formValues);
$this->set('queryParams', $this->_queryParams);
$buttonName = $this->controller->getButtonName();
$controller->run();
}
- /**
- * Set the default form values.
- *
- *
- * @return array
- * the default array reference
- */
- public function &setDefaultValues() {
- return $this->_formValues;
- }
-
public function fixFormValues() {
// if this search has been forced
// then see if there are any get values, and if so over-ride the post values
}
}
- /**
- * @return null
- */
- public function getFormValues() {
- return NULL;
- }
-
/**
* Return a descriptive name for the page, used in wizard header
*