19declare(strict_types=1);
38 $this->
logger = $DIC->logger()->webr();
46 string $a_schema_version,
51 $this->writer->
setObjId((
int) $a_id);
52 $this->writer->write();
53 return $this->writer->xmlDumpMem(
false);
54 }
catch (UnexpectedValueException
$e) {
55 $this->
logger->warning(
"Caught error: " . $e->getMessage());
65 string $a_target_release,
71 "component" =>
"components/ILIAS/ILIASObject",
77 foreach ($a_ids as
$id) {
78 $md_ids[] =
$id .
':0:webr';
80 if (!empty($md_ids)) {
82 'component' =>
'components/ILIAS/MetaData',
98 "namespace" =>
"http://www.ilias.de/Modules/WebResource/webr/4_1",
99 "xsd_file" =>
"ilias_webr_4_1.xsd",
100 "uses_dataset" =>
false,
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Component logger with individual log levels by component id.
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
@inheritDoc
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
@inheritDoc
__construct()
Constructor.
ilWebLinkXmlWriter $writer
getValidSchemaVersions(string $a_entity)
@inheritDoc
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc