You are here

public function RecursiveDOMIterator::valid in Translation Management Tool 7

Checks if current position is valid.

Return value

bool Is valid.

File

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

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Code

public function valid() {
  return $this->position < $this->nodeList->length;
}