You are here

public function FrxEditor::addParameter in Forena Reports 7.3

File

./FrxEditor.inc, line 284
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 addParameter($parm) {
  $parms = array();
  $parms[$parm['id']] = $parm;
  $this
    ->setFrxHeader('parameters', 'parm', $parms, array(
    'id',
    'label',
    'require',
    'desc',
    'data_source',
    'data_field',
    'type',
  ), 'value');
}