You are here

public function FrxReportEditor::getCategory in Forena Reports 7

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

File

./FrxReportEditor.inc, line 295

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;
}