19 declare(strict_types=1);
    31     public function init(): void
    34         $this->content_style_domain = $DIC
    46             $writer->setForumId((
int) $a_id);
    50             $xml .= $writer->getXML();
    60         if (
'frm' === $a_entity) {
    62                 'component' => 
'Services/Object',
    68                 "component" => 
"Services/News",
    69                 "entity" => 
"news_settings",
    77         foreach ($a_ids as $frmObjId) {
    83             $frmPageObjIds = $frm->getPageObjIds();
    84             foreach ($frmPageObjIds as $frmPageObjId) {
    85                 $pageObjectIds[] = self::OBJ_TYPE . 
':' . $frmPageObjId;
    88             $style_id = $this->content_style_domain->styleForObjId((
int) $frmObjId)->getStyleId();
    90                 $styleIds[$style_id] = $style_id;
    94         if ($pageObjectIds !== []) {
    96                 'component' => 
'Services/COPage',
    98                 'ids' => $pageObjectIds,
   102         if ($styleIds !== []) {
   104                 'component' => 
'Services/Style',
   106                 'ids' => array_values($styleIds),
   122                 "namespace" => 
"http://www.ilias.de/Modules/Forum/frm/5_1",
   123                 "xsd_file" => 
"ilias_frm_5_1.xsd",
   124                 "uses_dataset" => 
false,
   129                 "namespace" => 
"http://www.ilias.de/Modules/Forum/frm/8",
   130                 "xsd_file" => 
"ilias_frm_8.xsd",
   131                 "uses_dataset" => 
false,
   136                 "namespace" => 
"http://www.ilias.de/Modules/Forum/frm/9",
   137                 "xsd_file" => 
"ilias_frm_9.xsd",
   138                 "uses_dataset" => 
false,
 getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to. 
 
getRelativeExportDirectory()
 
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
 
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
 
static makeDirParents(string $a_dir)
Create a new directory and all parent directories. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
XML writer class Class to simplify manual writing of xml documents. 
 
Exporter class for sessions. 
 
getAbsoluteExportDirectory()
 
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id 
 
ILIAS Style Content DomainService $content_style_domain
 
static _lookupType(int $id, bool $reference=false)