You are here

public function FrxEditor::templateConfigForm in Forena Reports 7.4

Generate the configuration form for the template for a class.

Parameters

unknown $class:

unknown $config:

File

./FrxEditor.inc, line 1155
FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

FrxEditor
@file FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Code

public function templateConfigForm($class, $config) {
  $form = array();
  $c = Frx::Template($class);
  if ($c && method_exists($c, 'configForm')) {
    $form = $c
      ->configForm($config);
  }
  return $form;
}