You are here

public function BlockEditor::__construct in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Editor/BlockEditor.php \Drupal\forena\Editor\BlockEditor::__construct()

File

src/Editor/BlockEditor.php, line 28

Class

BlockEditor

Namespace

Drupal\forena\Editor

Code

public function __construct($block_name = '', $edit = TRUE) {
  $this->edit = $edit;
  if ($block_name) {
    $this
      ->load($block_name, $edit);
  }
  $this->teng = FrxAPI::SyntaxEngine(FRX_SQL_TOKEN, ':');
}