You are here

public function RecursiveDOMIterator::current in Translation Management Tool 7

Returns the current DOMNode.

Return value

DOMNode Current DOMNode object.

1 call to RecursiveDOMIterator::current()
RecursiveDOMIterator::getChildren in translators/file/tmgmt_file.recursive_iterator.inc
Returns an iterator for the current iterator entry.

File

translators/file/tmgmt_file.recursive_iterator.inc, line 42
Contains RecursiveDOMIterator.

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Code

public function current() {
  return $this->nodeList
    ->item($this->position);
}