You are here

public function RecursiveDOMIterator::__construct in Translation Management Tool 7

Constructor.

Parameters

DOMNode $domNode: DOMNode to iterate over.

File

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

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Code

public function __construct(DOMNode $domNode) {
  $this->position = 0;
  $this->nodeList = $domNode->childNodes;
}