return $sql;
}
- public function postProcess() {
- //reset value of activity_date
+ /**
+ * Override parent to reset value of activity_date.
+ */
+ public function beginPostProcessCommon() {
if (!empty($this->_resetDateFilter)) {
- $this->_formValues["activity_date_time_relative"] = NULL;
+ $this->_formValues['activity_date_time_relative'] = NULL;
}
-
- $this->beginPostProcess();
- $sql = $this->buildQuery(TRUE);
- $this->buildRows($sql, $rows);
-
- // format result set.
- $this->formatDisplay($rows);
-
- // assign variables to templates
- $this->doTemplateAssignment($rows);
-
- // do print / pdf / instance stuff if needed
- $this->endPostProcess($rows);
}
/**
*
* @param array $rows
* Rows generated by SQL, with an array for each row.
+ *
+ * @throws \CRM_Core_Exception
*/
public function alterDisplay(&$rows) {
$entryFound = FALSE;