19 declare(strict_types=1);
40 $this->
logger = $DIC->logger()->webr();
48 string $a_schema_version,
53 $this->writer->setObjId((
int) $a_id);
54 $this->writer->write(
true);
55 return $this->writer->xmlDumpMem(
false);
57 $this->
logger->warning(
"Caught error: " . $e->getMessage());
67 string $a_target_release,
73 "component" =>
"components/ILIAS/ILIASObject",
79 foreach ($a_ids as
$id) {
80 $md_ids[] = $id .
':0:webr';
82 if (!empty($md_ids)) {
84 'component' =>
'components/ILIAS/MetaData',
100 "namespace" =>
"http://www.ilias.de/Modules/WebResource/webr/4_1",
101 "xsd_file" =>
"ilias_webr_4_1.xsd",
102 "uses_dataset" =>
false,
__construct()
Constructor.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
getValidSchemaVersions(string $a_entity)
ilWebLinkXmlWriter $writer
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
__construct(Container $dic, ilPlugin $plugin)