19declare(strict_types=1);
32 'annotation' =>
'il_meta_annotation',
33 'classification' =>
'il_meta_classification',
34 'contribute' =>
'il_meta_contribute',
35 'description' =>
'il_meta_description',
36 'educational' =>
'il_meta_educational',
37 'entity' =>
'il_meta_entity',
38 'format' =>
'il_meta_format',
39 'general' =>
'il_meta_general',
40 'identifier' =>
'il_meta_identifier',
41 'identifier_' =>
'il_meta_identifier_',
42 'keyword' =>
'il_meta_keyword',
43 'language' =>
'il_meta_language',
44 'lifecycle' =>
'il_meta_lifecycle',
45 'location' =>
'il_meta_location',
46 'meta_data' =>
'il_meta_meta_data',
47 'relation' =>
'il_meta_relation',
48 'requirement' =>
'il_meta_requirement',
49 'rights' =>
'il_meta_rights',
50 'tar' =>
'il_meta_tar',
51 'taxon' =>
'il_meta_taxon',
52 'taxon_path' =>
'il_meta_taxon_path',
53 'technical' =>
'il_meta_technical',
54 'coverage' =>
'il_meta_coverage',
55 'meta_schema' =>
'il_meta_meta_schema',
56 'or_composite' =>
'il_meta_or_composite',
57 'lr_type' =>
'il_meta_lr_type',
58 'end_usr_role' =>
'il_meta_end_usr_role',
59 'context' =>
'il_meta_context'
63 'annotation' =>
'meta_annotation_id',
64 'classification' =>
'meta_classification_id',
65 'contribute' =>
'meta_contribute_id',
66 'description' =>
'meta_description_id',
67 'educational' =>
'meta_educational_id',
68 'entity' =>
'meta_entity_id',
69 'format' =>
'meta_format_id',
70 'general' =>
'meta_general_id',
71 'identifier' =>
'meta_identifier_id',
72 'identifier_' =>
'meta_identifier__id',
73 'keyword' =>
'meta_keyword_id',
74 'language' =>
'meta_language_id',
75 'lifecycle' =>
'meta_lifecycle_id',
76 'location' =>
'meta_location_id',
77 'meta_data' =>
'meta_meta_data_id',
78 'relation' =>
'meta_relation_id',
79 'requirement' =>
'meta_requirement_id',
80 'rights' =>
'meta_rights_id',
81 'tar' =>
'meta_tar_id',
82 'taxon' =>
'meta_taxon_id',
83 'taxon_path' =>
'meta_taxon_path_id',
84 'technical' =>
'meta_technical_id',
85 'coverage' =>
'meta_coverage_id',
86 'meta_schema' =>
'meta_meta_schema_id',
87 'or_composite' =>
'meta_or_composite_id',
88 'lr_type' =>
'meta_lr_type_id',
89 'end_usr_role' =>
'meta_end_usr_role_id',
90 'context' =>
'meta_context_id'
130 $this->tag_factory->containerWithRowInTable(
'general'),
145 $this->tag_factory->dataWithRowInTable(
153 $this->tag_factory->containerWithRowInTable(
157 $description =
$general->getSubElement(
'description')
163 'description_language',
167 $this->tag_factory->containerWithRowInTable(
171 $keyword =
$general->getSubElement(
'keyword')
181 $this->tag_factory->containerWithRowInTable(
185 $coverage =
$general->getSubElement(
'coverage')
195 $general->getSubElement(
'structure'),
198 'general_structure_src'
201 $general->getSubElement(
'aggregationLevel'),
211 $this->addTagToElement(
212 $this->tag_factory->containerWithRowInTable(
'lifecycle'),
213 $life_cycle =
$structure->getRoot()->getSubElement(
'lifeCycle')
215 $this->setTagsForLangStringSubElements(
216 $life_cycle->getSubElement(
'version'),
221 $this->setTagsForVocabSubElements(
222 $life_cycle->getSubElement(
'status'),
225 'lifecycle_status_src'
227 $this->setTagsForContribute(
236 $this->addTagToElement(
237 $this->tag_factory->containerWithRowInTable(
'meta_data'),
238 $meta =
$structure->getRoot()->getSubElement(
'metaMetadata')
240 $this->setTagsForIdentifier(
245 $this->setTagsForContribute(
249 $this->addTagToElement(
250 $this->tag_factory->dataWithRowInTable(
255 $meta->getSubElement(
'metadataSchema')
257 $this->addTagToElement(
258 $this->tag_factory->data(
262 $meta->getSubElement(
'language')
269 $this->addTagToElement(
270 $this->tag_factory->containerWithRowInTable(
'technical'),
273 $this->addTagToElement(
274 $this->tag_factory->dataWithRowInTable(
280 $this->addTagToElement(
281 $this->tag_factory->data(
287 $this->addTagToElement(
288 $this->tag_factory->dataWithRowInTable(
295 $this->addTagToElement(
296 $this->tag_factory->containerWithRowInTable(
300 $requirement =
$technical->getSubElement(
'requirement')
302 $this->addTagToElement(
303 $this->tag_factory->containerWithRowInTable(
307 $or = $requirement->getSubElement(
'orComposite')
309 $this->setTagsForVocabSubElements(
310 $or->getSubElement(
'type'),
316 $this->setTagsForVocabSubElements(
317 $or->getSubElement(
'name'),
323 $this->addTagToElement(
324 $this->tag_factory->data(
329 $or->getSubElement(
'minimumVersion')
331 $this->addTagToElement(
332 $this->tag_factory->data(
337 $or->getSubElement(
'maximumVersion')
339 $this->setTagsForLangStringSubElements(
340 $technical->getSubElement(
'installationRemarks'),
345 $this->setTagsForLangStringSubElements(
346 $technical->getSubElement(
'otherPlatformRequirements'),
352 $this->addTagToElement(
353 $this->tag_factory->data(
359 $this->setTagsForLangStringSubElements(
363 'duration_descr_lang',
370 $this->addTagToElement(
371 $this->tag_factory->containerWithRowInTable(
'educational'),
374 $this->setTagsForVocabSubElements(
377 'interactivity_type',
378 'interactivity_type_src'
380 $this->addTagToElement(
381 $this->tag_factory->containerWithRowInTable(
385 $lr_type =
$educational->getSubElement(
'learningResourceType')
387 $this->setTagsForVocabSubElements(
390 'learning_resource_type',
391 'learning_resource_type_src',
394 $this->setTagsForVocabSubElements(
397 'interactivity_level',
398 'interactivity_level_src'
400 $this->setTagsForVocabSubElements(
404 'semantic_density_src'
406 $this->addTagToElement(
407 $this->tag_factory->containerWithRowInTable(
411 $user_role =
$educational->getSubElement(
'intendedEndUserRole')
413 $this->setTagsForVocabSubElements(
416 'intended_end_user_role',
417 'intended_end_user_role_src',
420 $this->addTagToElement(
421 $this->tag_factory->containerWithRowInTable(
427 $this->setTagsForVocabSubElements(
434 $this->addTagToElement(
435 $this->tag_factory->containerWithRowInTable(
439 $age_range =
$educational->getSubElement(
'typicalAgeRange')
441 $this->setTagsForLangStringSubElements(
448 $this->setTagsForVocabSubElements(
454 $tlt =
$educational->getSubElement(
'typicalLearningTime');
455 $this->addTagToElement(
456 $this->tag_factory->data(
458 'typical_learning_time'
460 $tlt->getSubElement(
'duration')
462 $this->setTagsForLangStringSubElements(
463 $tlt->getSubElement(
'description'),
468 $this->addTagToElement(
469 $this->tag_factory->containerWithRowInTable(
473 $description =
$educational->getSubElement(
'description')
475 $this->setTagsForLangStringSubElements(
479 'description_language',
482 $this->addTagToElement(
483 $this->tag_factory->dataWithRowInTable(
495 $this->addTagToElement(
496 $this->tag_factory->containerWithRowInTable(
'rights'),
499 $this->setTagsForVocabSubElements(
500 $rights->getSubElement(
'cost'),
505 $this->setTagsForVocabSubElements(
506 $rights->getSubElement(
'copyrightAndOtherRestrictions'),
511 $this->setTagsForLangStringSubElements(
512 $rights->getSubElement(
'description'),
515 'description_language'
522 $this->addTagToElement(
523 $this->tag_factory->containerWithRowInTable(
'relation'),
526 $this->setTagsForVocabSubElements(
532 $resource =
$relation->getSubElement(
'resource');
533 $this->setTagsForIdentifier(
538 $this->addTagToElement(
539 $this->tag_factory->containerWithRowInTable(
543 $description = $resource->getSubElement(
'description')
545 $this->setTagsForLangStringSubElements(
549 'description_language',
557 $this->addTagToElement(
558 $this->tag_factory->containerWithRowInTable(
'annotation'),
561 $this->addTagToElement(
562 $this->tag_factory->data(
569 $this->addTagToElement(
570 $this->tag_factory->data(
574 $date->getSubElement(
'dateTime')
576 $this->setTagsForLangStringSubElements(
577 $date->getSubElement(
'description'),
582 $this->setTagsForLangStringSubElements(
586 'description_language'
593 $this->addTagToElement(
594 $this->tag_factory->containerWithRowInTable(
'classification'),
597 $this->setTagsForVocabSubElements(
603 $this->addTagToElement(
604 $this->tag_factory->containerWithRowInTable(
606 'meta_classification'
610 $this->setTagsForLangStringSubElements(
611 $taxon_path->getSubElement(
'source'),
615 'meta_classification'
617 $this->addTagToElement(
618 $this->tag_factory->containerWithRowInTable(
622 $taxon = $taxon_path->getSubElement(
'taxon')
624 $this->addTagToElement(
625 $this->tag_factory->data(
630 $taxon->getSubElement(
'id')
632 $this->setTagsForLangStringSubElements(
633 $taxon->getSubElement(
'entry'),
638 $this->setTagsForLangStringSubElements(
642 'description_language'
644 $this->addTagToElement(
645 $this->tag_factory->containerWithRowInTable(
647 'meta_classification'
651 $this->setTagsForLangStringSubElements(
656 'meta_classification'
665 $this->addTagToElement(
666 $this->tag_factory->containerWithRowInTable(
670 $identifier = $element->getSubElement(
'identifier')
672 $this->addTagToElement(
673 $this->tag_factory->data(
678 $identifier->getSubElement(
'catalog')
680 $this->addTagToElement(
681 $this->tag_factory->data(
686 $identifier->getSubElement(
'entry')
694 $this->addTagToElement(
695 $this->tag_factory->containerWithRowInTable(
699 $contribute = $element->getSubElement(
'contribute')
701 $this->setTagsForVocabSubElements(
702 $contribute->getSubElement(
'role'),
708 $this->addTagToElement(
709 $this->tag_factory->dataWithRowInTable(
714 $contribute->getSubElement(
'entity')
716 $date = $contribute->getSubElement(
'date');
717 $this->addTagToElement(
718 $this->tag_factory->data(
723 $date->getSubElement(
'dateTime')
725 $this->setTagsForLangStringSubElements(
726 $date->getSubElement(
'description'),
737 string $field_string,
741 $string_tag = $this->tag_factory->data(
746 $lang_tag = $this->tag_factory->data(
751 $this->addTagToElement(
755 $this->addTagToElement(
765 string $field_source,
768 $value_tag = $this->tag_factory->data(
773 $this->addTagToElement(
775 $vocab->getSubElement(
'value')
777 $source_tag = $this->tag_factory->data(
782 $this->addTagToElement(
784 $vocab->getSubElement(
'source')
$structure
TOTAL STRUCTURE.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc