19declare(strict_types=1);
33 bool $skip_vocab_source =
false
48 bool $skip_vocab_source,
52 throw new \ilMDEditorException(
'LOM Structure is nested to deep.');
55 $type = $current_element->getDefinition()->dataType();
58 !($skip_vocab_source && $type === Type::VOCAB_SOURCE)
60 $elements[] = $current_element;
62 foreach ($current_element->getSubElements() as $sub) {
63 $elements = array_merge(
65 $this->getDataElementsInSubElements(
if(!file_exists('../ilias.ini.php'))