19 declare(strict_types=1);
32 public function init(): void
35 $this->ds->initByExporter($this);
36 $this->ds->setDSPrefix(
"ds");
44 foreach ($a_ids as
$id) {
46 if (
sizeof($rec_ids)) {
47 foreach ($rec_ids as $rec_id) {
48 $advmd_ids[] = $id .
":" . $rec_id;
52 if (
sizeof($advmd_ids)) {
54 "component" =>
"components/ILIAS/AdvancedMetaData",
61 foreach ($a_ids as $sess_id) {
62 $md_ids[] = $sess_id .
":0:sess";
67 "component" =>
"components/ILIAS/MetaData",
75 "component" =>
"components/ILIAS/ILIASObject",
76 "entity" =>
"service_settings",
81 "component" =>
"components/ILIAS/ILIASObject",
93 foreach ($record_obj->getAssignedObjectTypes() as $obj_info) {
94 if ($obj_info[
'obj_type'] ==
'sess' && $obj_info[
'optional'] == 0) {
95 $active[] = $record_obj->getRecordId();
99 $obj_info[
'obj_type'] ==
'sess' &&
100 $obj_info[
'optional'] == 1 &&
101 $a_id == $record_obj->getParentObject()
103 $active[] = $record_obj->getRecordId();
112 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
119 "namespace" =>
"http://www.ilias.de/Modules/Session/sess/4_1",
120 "xsd_file" =>
"ilias_sess_4_1.xsd",
121 "uses_dataset" =>
true,
126 "namespace" =>
"http://www.ilias.de/Modules/Session/sess/5_0",
127 "xsd_file" =>
"ilias_sess_5_0.xsd",
128 "uses_dataset" =>
true,
133 "namespace" =>
"http://www.ilias.de/Modules/Session/sess/5_1",
134 "xsd_file" =>
"ilias_sess_5_1.xsd",
135 "uses_dataset" =>
true,
140 "namespace" =>
"http://www.ilias.de/Modules/Session/sess/5_1",
141 "xsd_file" =>
"ilias_sess_5_1.xsd",
142 "uses_dataset" =>
true,
147 "namespace" =>
"http://www.ilias.de/Modules/Session/sess/7",
148 "xsd_file" =>
"ilias_sess_7.xsd",
149 "uses_dataset" =>
true,
154 "namespace" =>
"http://www.ilias.de/xml/Modules/Session/sess",
155 "xsd_file" =>
"ilias_sess_9.xsd",
156 "uses_dataset" =>
true,
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
getActiveAdvMDRecords(int $a_id)
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
getValidSchemaVersions(string $a_entity)
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Exporter class for sessions.