You are here

public function FrxReportEditor::getCategory in Forena Reports 6.2

Same name and namespace in other branches
  1. 6 FrxReportEditor.inc \FrxReportEditor::getCategory()
  2. 7 FrxReportEditor.inc \FrxReportEditor::getCategory()
  3. 7.2 FrxReportEditor.inc \FrxReportEditor::getCategory()

File

./FrxReportEditor.inc, line 319

Class

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

Code

public function getCategory() {
  $dom = $this->dom;
  $this
    ->verifyHeaderElements(array(
    'category',
  ));
  $cnode = $dom
    ->getElementsByTagNameNS($this->xmlns, 'category')
    ->item(0);
  return $cnode->textContent;
}