20 declare(strict_types=1);
    33     public function init(): void
    36         $this->ds->initByExporter($this);
    37         $this->ds->setDSPrefix(
"ds");
    45         foreach ($a_ids as 
$id) {
    47             if (
sizeof($rec_ids)) {
    48                 foreach ($rec_ids as $rec_id) {
    49                     $advmd_ids[] = $id . 
":" . $rec_id;
    53         if (
sizeof($advmd_ids)) {
    55                 "component" => 
"components/ILIAS/AdvancedMetaData",
    62         foreach ($a_ids as $sess_id) {
    63             $md_ids[] = $sess_id . 
":0:sess";
    68                     "component" => 
"components/ILIAS/MetaData",
    76             "component" => 
"components/ILIAS/ILIASObject",
    77             "entity" => 
"service_settings",
    82             "component" => 
"components/ILIAS/ILIASObject",
    94             foreach ($record_obj->getAssignedObjectTypes() as $obj_info) {
    95                 if ($obj_info[
'obj_type'] == 
'sess' && $obj_info[
'optional'] == 0) {
    96                     $active[] = $record_obj->getRecordId();
   100                     $obj_info[
'obj_type'] == 
'sess' &&
   101                     $obj_info[
'optional'] == 1 &&
   102                     $a_id == $record_obj->getParentObject()
   104                     $active[] = $record_obj->getRecordId();
   113         return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], 
"", 
true, 
true);
   120                 "namespace" => 
"http://www.ilias.de/Modules/Session/sess/4_1",
   121                 "xsd_file" => 
"ilias_sess_4_1.xsd",
   122                 "uses_dataset" => 
true,
   127                 "namespace" => 
"http://www.ilias.de/Modules/Session/sess/5_0",
   128                 "xsd_file" => 
"ilias_sess_5_0.xsd",
   129                 "uses_dataset" => 
true,
   134                 "namespace" => 
"http://www.ilias.de/Modules/Session/sess/5_1",
   135                 "xsd_file" => 
"ilias_sess_5_1.xsd",
   136                 "uses_dataset" => 
true,
   141                 "namespace" => 
"http://www.ilias.de/Modules/Session/sess/5_1",
   142                 "xsd_file" => 
"ilias_sess_5_1.xsd",
   143                 "uses_dataset" => 
true,
   148                 "namespace" => 
"http://www.ilias.de/Modules/Session/sess/7",
   149                 "xsd_file" => 
"ilias_sess_7.xsd",
   150                 "uses_dataset" => 
true,
   155                 "namespace" => 
"http://www.ilias.de/xml/Modules/Session/sess",
   156                 "xsd_file" => 
"ilias_sess_9.xsd",
   157                 "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.