45 case 'meta_technical':
46 include_once
'Services/MetaData/classes/class.ilMDTechnical.php';
49 $tec->setMetaId($a_index);
53 case 'meta_or_composite':
54 include_once
'Services/MetaData/classes/class.ilMDOrComposite.php';
55 include_once
'Services/MetaData/classes/class.ilMDTechnical.php';
58 $tec->setMetaId($a_technical_id);
60 return $tec->getOrComposite($a_index);
62 case 'meta_requirement':
63 include_once
'Services/MetaData/classes/class.ilMDRequirement.php';
66 $req->setMetaId($a_index);
72 include_once
'Services/MetaData/classes/class.ilMDLocation.php';
75 $loc->setMetaId($a_index);
80 include_once
'Services/MetaData/classes/class.ilMDFormat.php';
83 $for->setMetaId($a_index);
87 case 'meta_lifecycle':
88 include_once
'Services/MetaData/classes/class.ilMDLifecycle.php';
91 $lif->setMetaId($a_index);
96 include_once
'Services/MetaData/classes/class.ilMDEntity.php';
99 $ent->setMetaId($a_index);
103 case 'meta_contribute':
104 include_once
'Services/MetaData/classes/class.ilMDContribute.php';
107 $con->setMetaId($a_index);
111 case 'meta_identifier':
112 include_once
'Services/MetaData/classes/class.ilMDIdentifier.php';
115 $ide->setMetaId($a_index);
119 case 'educational_description':
120 case 'meta_description':
121 include_once
'Services/MetaData/classes/class.ilMDDescription.php';
124 $des->setMetaId($a_index);
129 case 'classification_keyword':
130 include_once
'Services/MetaData/classes/class.ilMDKeyword.php';
133 $key->setMetaId($a_index);
137 case 'educational_language':
138 case 'meta_language':
139 include_once
'Services/MetaData/classes/class.ilMDLanguage.php';
142 $lan->setMetaId($a_index);
147 include_once
'Services/MetaData/classes/class.ilMDRights.php';
150 $rights->setMetaId($a_index);
153 case 'meta_educational':
154 include_once
'Services/MetaData/classes/class.ilMDEducational.php';
157 $edu->setMetaId($a_index);
160 case 'educational_typical_age_range':
161 include_once
'Services/MetaData/classes/class.ilMDTypicalAgeRange.php';
164 $age->setMetaId($a_index);
167 case 'meta_relation':
168 include_once
'Services/MetaData/classes/class.ilMDRelation.php';
171 $relation->setMetaId($a_index);
174 case 'relation_resource_identifier':
175 include_once
'Services/MetaData/classes/class.ilMDIdentifier_.php';
178 $ide->setMetaId($a_index);
182 case 'relation_resource_description':
183 include_once
'Services/MetaData/classes/class.ilMDDescription.php';
186 $des->setMetaId($a_index);
190 case 'meta_annotation':
191 include_once
'Services/MetaData/classes/class.ilMDAnnotation.php';
194 $anno->setMetaId($a_index);
197 case 'meta_classification':
198 include_once
'Services/MetaData/classes/class.ilMDClassification.php';
201 $class->setMetaId($a_index);
204 case 'classification_taxon_path':
205 include_once
'Services/MetaData/classes/class.ilMDTaxonPath.php';
209 $tax_path->setMetaId($a_index);
212 case 'classification_taxon':
213 include_once
'Services/MetaData/classes/class.ilMDTaxon.php';
216 $tax->setMetaId($a_index);
219 case 'meta_meta_metadata':
220 include_once
'Services/MetaData/classes/class.ilMDMetaMetadata.php';
223 $met->setMetaId($a_index);
227 echo $a_type .
" not known";