You are here

public function ReportEditor::update in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/Editor/ReportEditor.php \Drupal\forena\Editor\ReportEditor::update()

Save data away in the session state.

1 call to ReportEditor::update()
ReportEditor::rename in src/Editor/ReportEditor.php

File

src/Editor/ReportEditor.php, line 76
ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

ReportEditor

Namespace

Drupal\forena\Editor

Code

public function update() {
  $_SESSION['forena_report_editor'][$this->report_name] = $this->doc_prefix . $this->dom
    ->saveXML($this->dom->documentElement);
}