You are here

public function FrxEditor::ensureDocGen in Forena Reports 7.4

Makes sure specific document types are asserted.

File

./FrxEditor.inc, line 345
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 ensureDocGen($types) {
  $types = array_combine($types, $types);
  $doctypes = $this
    ->getDocgen();
  $doctypes = array_merge($types, $doctypes);
  $this
    ->setDocgen($doctypes);
}