You are here

public function FrxBlockEditor::save in Forena Reports 7.4

Saves the data block

File

./FrxBlockEditor.inc, line 80

Class

FrxBlockEditor

Code

public function save() {
  Frx::RepoMan()
    ->saveBlock($this->block_name, $this->block);
  unset($_SESSION['forena_query_editor'][$this->block_name]);
  drupal_get_messages('warning');
  drupal_set_message(t('Saved Changes'));
  return $this;
}