You are here

public static function Frx::BlockEditor in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.4 Frx.inc \Frx::BlockEditor()

Parameters

$block_name:

Return value

BlockEditor

6 calls to Frx::BlockEditor()
forena_query_delete_form in ./forena_query.inc
forena_query_editor in ./forena_query.inc
Basic SQL Editor form hook implementation
forena_query_editor_update in ./forena_query.inc
Function to allow all normal button submits to be for the form.
forena_query_editor_validate in ./forena_query.inc
ReportEditor::addBlock in src/Editor/ReportEditor.php
Add a data blcok

... See full list

File

./Frx.inc, line 381
Frx.incL General Forena Reporting Class

Class

Frx

Code

public static function BlockEditor($block_name = '', $edit = TRUE) {
  static $o = '';
  if (!$o) {
    $o = new BlockEditor($block_name, $edit);
  }
  else {
    if ($block_name) {
      $o
        ->load($block_name, $edit);
    }
  }
  return $o;
}