19declare(strict_types=1);
30 public function init(): void
35 $this->ds->setDSPrefix(
"ds");
36 $this->content_style_domain =
$DIC
43 string $a_target_release,
50 foreach ($a_ids as
$id) {
52 foreach (array_keys($pages) as $p) {
53 $pg_ids[] =
"blp:" . $p;
58 "component" =>
"components/ILIAS/COPage",
66 foreach ($a_ids as
$id) {
67 $style_id = $this->content_style_domain->styleForObjId((
int)
$id)->getExportStyleId();
69 $style_ids[] = $style_id;
72 if (count($style_ids)) {
74 "component" =>
"components/ILIAS/Style",
82 "component" =>
"components/ILIAS/ILIASObject",
88 foreach ($a_ids as
$id) {
89 $md_ids[] =
$id .
':0:blog';
91 if (!empty($md_ids)) {
93 'component' =>
'components/ILIAS/MetaData',
104 string $a_schema_version,
107 $this->ds->initByExporter($this);
108 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
116 "namespace" =>
"https://www.ilias.de/Modules/Blog/8",
117 "xsd_file" =>
"ilias_blog_8.xsd",
118 "uses_dataset" =>
true,
123 "namespace" =>
"https://www.ilias.de/Modules/Blog/5_0",
124 "xsd_file" =>
"ilias_blog_5_0.xsd",
125 "uses_dataset" =>
true,
130 "namespace" =>
"https://www.ilias.de/Modules/Blog/5_0",
131 "xsd_file" =>
"ilias_blog_5_0.xsd",
132 "uses_dataset" =>
true,
137 "namespace" =>
"https://www.ilias.de/Modules/Blog/4_3",
138 "xsd_file" =>
"ilias_blog_4_3.xsd",
139 "uses_dataset" =>
true,
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Blog Data set class This class implements the following entities:
ILIAS Style Content DomainService $content_style_domain
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
static getAllPostings(int $a_blog_id, int $a_limit=1000, int $a_offset=0)
Get all postings of blog.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...