You are here

public static function Frx::BlockEditor in Forena Reports 7.4

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

Parameters

$block_name:

Return value

FrxBlockEditor

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
FrxEditor::addBlock in ./FrxEditor.inc
Add a data blcok

... See full list

File

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

Class

Frx

Code

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