*/
public function ensureVariablesAreAssigned(array $variables): void {
foreach ($variables as $variable) {
- if (!isset($this->get_template_vars()[$variable])) {
+ if (!isset($this->getTemplateVars()[$variable])) {
$this->assign($variable);
}
}
if ($this->cid) {
// link back to contact summary
$this->assign('backURL', CRM_Utils_System::url('civicrm/contact/view', "reset=1&selectedChild=log&cid={$this->cid}", FALSE, NULL, FALSE));
- $this->assign('revertURL', self::$_template->get_template_vars('revertURL') . "&cid={$this->cid}");
+ $this->assign('revertURL', self::$_template->getTemplateVars('revertURL') . "&cid={$this->cid}");
}
else {
// link back to summary report