28     public function init(): void
    31         $this->ds->initByExporter($this);
    32         $this->ds->setDSPrefix(
"ds");
    44         $this->ds->initByExporter($this);
    45         return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], 
"", 
true, 
true);
    57                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/9",
    58                 "xsd_file" => 
"ilias_exc_9.xsd",
    59                 "uses_dataset" => 
true,
    63                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/4_1",
    64                 "xsd_file" => 
"ilias_exc_4_1.xsd",
    65                 "uses_dataset" => 
true,
    69                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/4_4",
    70                 "xsd_file" => 
"ilias_exc_4_4.xsd",
    71                 "uses_dataset" => 
true,
    75                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/5_0",
    76                 "xsd_file" => 
"ilias_exc_5_0.xsd",
    77                 "uses_dataset" => 
true,
    81                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/5_1",
    82                 "xsd_file" => 
"ilias_exc_5_1.xsd",
    83                 "uses_dataset" => 
true,
    87                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/5_2",
    88                 "xsd_file" => 
"ilias_exc_5_2.xsd",
    89                 "uses_dataset" => 
true,
    93                 "namespace" => 
"https://www.ilias.de/Modules/Exercise/exc/5_3",
    94                 "xsd_file" => 
"ilias_exc_5_3.xsd",
    95                 "uses_dataset" => 
true,
   105         if ($a_entity == 
"exc") {
   108                 "component" => 
"components/ILIAS/ILIASObject",
   109                 "entity" => 
"common",
   113             $advmd_ids = array();
   114             foreach ($a_ids as 
$id) {
   116                 foreach ($rec_ids as $rec_id) {
   117                     $advmd_ids[] = $id . 
":" . $rec_id;
   121             if ($advmd_ids !== []) {
   123                     "component" => 
"components/ILIAS/AdvancedMetaData",
   130             foreach ($a_ids as $exc_id) {
   131                 $md_ids[] = $exc_id . 
":0:exc";
   133             if ($md_ids !== []) {
   136                         "component" => 
"components/ILIAS/MetaData",
   144                 "component" => 
"components/ILIAS/ILIASObject",
   145                 "entity" => 
"service_settings",
   161             foreach ($record_obj->getAssignedObjectTypes() as $obj_info) {
   162                 if ($obj_info[
'obj_type'] == 
'exc' && $obj_info[
'optional'] == 0) {
   163                     $active[] = $record_obj->getRecordId();
   167                     $obj_info[
'obj_type'] == 
'exc' &&
   168                     $obj_info[
'optional'] == 1 &&
   169                     $a_id == $record_obj->getParentObject()
   171                     $active[] = $record_obj->getRecordId();
 
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Get xml representation. 
 
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type. 
 
getActiveAdvMDRecords($a_id)
 
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)