You are here

public function FrxEditor::getCategory in Forena Reports 7.4

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

File

./FrxEditor.inc, line 464
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;
}