public function FrxReportEditor::addParameter in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 FrxReportEditor.inc \FrxReportEditor::addParameter()
File
- ./
FrxReportEditor.inc, line 283
Class
- FrxReportEditor
- 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');
}