You are here

public function RecursiveDOMIterator::hasChildren in Translation Management Tool 7

Checks if current element has children.

Return value

bool Has children.

File

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

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Code

public function hasChildren() {
  return $this
    ->current()
    ->hasChildNodes();
}