19 declare(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'),
212 $this->tag_factory->containerWithRowInTable(
'lifecycle'),
213 $life_cycle = $structure->
getRoot()->getSubElement(
'lifeCycle')
216 $life_cycle->getSubElement(
'version'),
222 $life_cycle->getSubElement(
'status'),
225 'lifecycle_status_src' 237 $this->tag_factory->containerWithRowInTable(
'meta_data'),
238 $meta = $structure->
getRoot()->getSubElement(
'metaMetadata')
250 $this->tag_factory->dataWithRowInTable(
255 $meta->getSubElement(
'metadataSchema')
258 $this->tag_factory->data(
262 $meta->getSubElement(
'language')
270 $this->tag_factory->containerWithRowInTable(
'technical'),
274 $this->tag_factory->dataWithRowInTable(
281 $this->tag_factory->data(
288 $this->tag_factory->dataWithRowInTable(
296 $this->tag_factory->containerWithRowInTable(
300 $requirement =
$technical->getSubElement(
'requirement')
303 $this->tag_factory->containerWithRowInTable(
307 $or = $requirement->getSubElement(
'orComposite')
310 $or->getSubElement(
'type'),
317 $or->getSubElement(
'name'),
324 $this->tag_factory->data(
329 $or->getSubElement(
'minimumVersion')
332 $this->tag_factory->data(
337 $or->getSubElement(
'maximumVersion')
340 $technical->getSubElement(
'installationRemarks'),
346 $technical->getSubElement(
'otherPlatformRequirements'),
353 $this->tag_factory->data(
357 $duration->getSubElement(
'duration')
360 $duration->getSubElement(
'description'),
363 'duration_descr_lang',
371 $this->tag_factory->containerWithRowInTable(
'educational'),
377 'interactivity_type',
378 'interactivity_type_src' 381 $this->tag_factory->containerWithRowInTable(
385 $lr_type =
$educational->getSubElement(
'learningResourceType')
390 'learning_resource_type',
391 'learning_resource_type_src',
397 'interactivity_level',
398 'interactivity_level_src' 404 'semantic_density_src' 407 $this->tag_factory->containerWithRowInTable(
411 $user_role =
$educational->getSubElement(
'intendedEndUserRole')
416 'intended_end_user_role',
417 'intended_end_user_role_src',
421 $this->tag_factory->containerWithRowInTable(
435 $this->tag_factory->containerWithRowInTable(
439 $age_range =
$educational->getSubElement(
'typicalAgeRange')
454 $tlt =
$educational->getSubElement(
'typicalLearningTime');
456 $this->tag_factory->data(
458 'typical_learning_time' 460 $tlt->getSubElement(
'duration')
463 $tlt->getSubElement(
'description'),
469 $this->tag_factory->containerWithRowInTable(
473 $description =
$educational->getSubElement(
'description')
479 'description_language',
483 $this->tag_factory->dataWithRowInTable(
496 $this->tag_factory->containerWithRowInTable(
'rights'),
500 $rights->getSubElement(
'cost'),
506 $rights->getSubElement(
'copyrightAndOtherRestrictions'),
512 $rights->getSubElement(
'description'),
515 'description_language' 523 $this->tag_factory->containerWithRowInTable(
'relation'),
532 $resource =
$relation->getSubElement(
'resource');
539 $this->tag_factory->containerWithRowInTable(
543 $description = $resource->getSubElement(
'description')
549 'description_language',
558 $this->tag_factory->containerWithRowInTable(
'annotation'),
562 $this->tag_factory->data(
570 $this->tag_factory->data(
574 $date->getSubElement(
'dateTime')
577 $date->getSubElement(
'description'),
586 'description_language' 594 $this->tag_factory->containerWithRowInTable(
'classification'),
604 $this->tag_factory->containerWithRowInTable(
606 'meta_classification' 611 $taxon_path->getSubElement(
'source'),
615 'meta_classification' 618 $this->tag_factory->containerWithRowInTable(
622 $taxon = $taxon_path->getSubElement(
'taxon')
625 $this->tag_factory->data(
630 $taxon->getSubElement(
'id')
633 $taxon->getSubElement(
'entry'),
642 'description_language' 645 $this->tag_factory->containerWithRowInTable(
647 'meta_classification' 656 'meta_classification' 666 $this->tag_factory->containerWithRowInTable(
673 $this->tag_factory->data(
678 $identifier->getSubElement(
'catalog')
681 $this->tag_factory->data(
686 $identifier->getSubElement(
'entry')
695 $this->tag_factory->containerWithRowInTable(
702 $contribute->getSubElement(
'role'),
709 $this->tag_factory->dataWithRowInTable(
714 $contribute->getSubElement(
'entity')
716 $date = $contribute->getSubElement(
'date');
718 $this->tag_factory->data(
723 $date->getSubElement(
'dateTime')
726 $date->getSubElement(
'description'),
737 string $field_string,
741 $string_tag = $this->tag_factory->data(
746 $lang_tag = $this->tag_factory->data(
765 string $field_source,
768 $value_tag = $this->tag_factory->data(
777 $source_tag = $this->tag_factory->data(
__construct(Container $dic, ilPlugin $plugin)