19 declare(strict_types=1);
31 return $this->
getTypes($entity, $version);
45 $this->assertInstanceOf(ilIndividualAssessmentDataSet::class, $obj);
50 $expected = [
'5.2.0',
'5.3.0',
'9.0.0'];
53 $result = $obj->getSupportedVersions();
55 $this->assertIsArray($result);
56 $this->assertEquals($expected, $result);
61 $expected =
'http://www.ilias.de/xml/Modules/IndividualAssessment/entity_string';
64 $result = $obj->getXmlNamespaceWrapper(
"entity_string",
"not_implemented");
66 $this->assertEquals($expected, $result);
72 $result = $obj->getTypesWrapper(
"no_entity",
"");
74 $this->assertIsArray($result);
75 $this->assertEmpty($result);
83 "description" =>
"text",
85 "recordTemplate" =>
"text",
86 "eventTimePlaceRequired" =>
"integer",
87 "file_required" =>
"integer",
89 "responsibility" =>
"text",
92 "consultation_hours" =>
"text" 96 $result = $obj->getTypesWrapper(
"iass",
"");
98 $this->assertIsArray($result);
99 $this->assertEquals($expected, $result);
getXmlNamespaceWrapper(string $a_entity, string $a_schema_version)
test_getXmlNamespaceWrapper()
Individual Assessment dataset class.
getTypesWrapper(string $entity, string $version)
getXmlNamespace(string $a_entity, string $a_schema_version)
test_getSupportedVersions()
getTypes(string $a_entity, string $a_version)
Map XML attributes of entities to data types (text, integer...)