19 declare(strict_types=1);
    28     public function init(): void
    33         $this->ds->setDSPrefix(
'ds');
    34         $this->content_style_domain = $DIC->contentStyle()
    41         $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
    43         return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], 
'', 
true, 
true);
    50                 'namespace' => 
'http://www.ilias.de/Modules/ContentPage/' . self::OBJ_TYPE . 
'/9',
    51                 'xsd_file' => 
'ilias_' . self::OBJ_TYPE . 
'_9.xsd',
    52                 'uses_dataset' => 
true,
    65         foreach ($a_ids as $copaObjId) {
    71             $metadataIds[] = $copaObjId . 
':0:' . self::OBJ_TYPE;
    73             $copaPageObjIds = $copa->getPageObjIds();
    74             foreach ($copaPageObjIds as $copaPageObjId) {
    75                 $pageObjectIds[] = self::OBJ_TYPE . 
':' . $copaPageObjId;
    78             $style_id = $this->content_style_domain
    79                 ->styleForObjId($copa->getId())
    82                 $styleIds[$style_id] = $style_id;
    88         if (count($pageObjectIds) > 0) {
    90                 'component' => 
'Services/COPage',
    92                 'ids' => $pageObjectIds,
    96         if (count($metadataIds) > 0) {
    98                 'component' => 
'Services/MetaData',
   100                 'ids' => $metadataIds,
   104         if (count($styleIds) > 0) {
   106                 'component' => 
'Services/Style',
   108                 'ids' => array_values($styleIds),
   112         if (self::OBJ_TYPE === $a_entity) {
   114                 'component' => 
'Services/Object',
   115                 'entity' => 
'common',
 
DomainService $content_style_domain
 
Facade for consumer domain interface. 
 
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
 
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...
 
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
 
getAbsoluteExportDirectory()
 
getValidSchemaVersions(string $a_entity)
 
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id