You are here

public function FrxBlockEditor::rename in Forena Reports 7.4

Rename the exisiting block.

Parameters

unknown $name:

File

./FrxBlockEditor.inc, line 110

Class

FrxBlockEditor

Code

public function rename($name) {
  $old_name = $this->{$block_name};
  unset($_SESSION['forea_query_editor'][$old_name]);
  $this->{$block_name} = $this->provider . '/' . $name;
  $this
    ->update($this->block);
}