You are here

public function FrxEditor::getCategory in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxEditor.inc \FrxEditor::getCategory()

File

./FrxEditor.inc, line 320
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 getCategory() {
  $dom = $this->dom;
  $this
    ->verifyHeaderElements(array(
    'category',
  ));
  $cnode = $dom
    ->getElementsByTagNameNS($this->xmlns, 'category')
    ->item(0);
  return $cnode->textContent;
}