3 declare(strict_types=1);
25 $this->
logger = $DIC->logger()->grp();
31 public function init(): void
43 'component' =>
'Services/Container',
54 foreach ($a_ids as
$id) {
56 foreach ($rec_ids as $rec_id) {
57 $advmd_ids[] = $id .
":" . $rec_id;
61 if ($advmd_ids !== []) {
63 "component" =>
"Services/AdvancedMetaData",
70 foreach ($a_ids as $grp_id) {
71 $md_ids[] = $grp_id .
":0:grp";
76 "component" =>
"Services/MetaData",
90 $group_ref_id = end($refs);
94 $this->
logger->warning($a_id .
' is not instance of type group');
101 return $writer->getXML();
109 foreach ($record_obj->getAssignedObjectTypes() as $obj_info) {
110 if ($obj_info[
'obj_type'] ==
'grp' && $obj_info[
'optional'] == 0) {
111 $active[] = $record_obj->getRecordId();
115 $obj_info[
'obj_type'] ==
'grp' &&
116 $obj_info[
'optional'] == 1 &&
117 $a_id == $record_obj->getParentObject()
119 $active[] = $record_obj->getRecordId();
134 "namespace" =>
'http://www.ilias.de/Modules/Group/grp/9',
135 "xsd_file" =>
'ilias_grp_9_0.xsd',
136 "uses_dataset" =>
false,
141 "namespace" =>
"http://www.ilias.de/Modules/Group/grp/4_1",
142 "xsd_file" =>
"ilias_grp_4_1.xsd",
143 "uses_dataset" =>
false,
148 "namespace" =>
"http://www.ilias.de/Modules/Group/grp/5_0",
149 "xsd_file" =>
"ilias_grp_5_0.xsd",
150 "uses_dataset" =>
false,
getActiveAdvMDRecords(int $a_id)
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
static _getAllReferences(int $id)
get all reference ids for object ID
getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getValidSchemaVersions(string $a_entity)
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)