19        $this->ds = new \ilContentPageDataSet();
 
   20        $this->ds->setDSPrefix(
'ds');
 
   29        $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
 
   31        return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id, 
'', 
true, 
true);
 
   41                'namespace' => 
'http://www.ilias.de/Modules/ContentPage/' . self::OBJ_TYPE . 
'/5_4',
 
   42                'xsd_file' => 
'ilias_' . self::OBJ_TYPE . 
'_5_4.xsd',
 
   43                'uses_dataset' => 
true,
 
   58        foreach ($a_ids as $copaObjId) {
 
   64            $copaPageObjIds = $copa->getPageObjIds();
 
   65            foreach ($copaPageObjIds as $copaPageObjId) {
 
   66                $pageObjectIds[] = self::OBJ_TYPE . 
':' . $copaPageObjId;
 
   69            if ($copa->getStyleSheetId() > 0) {
 
   70                $styleIds[$copa->getStyleSheetId()] = $copa->getStyleSheetId();
 
   76        if (count($pageObjectIds) > 0) {
 
   78                'component' => 
'Services/COPage',
 
   80                'ids' => $pageObjectIds,
 
   84        if (count($styleIds) > 0) {
 
   86                'component' => 
'Services/Style',
 
   88                'ids' => array_values($styleIds),
 
   92        if (self::OBJ_TYPE === $a_entity) {
 
   94                'component' => 
'Services/Object',
 
An exception for terminatinating execution or to throw for unit testing.
Class ilContentPageExporter.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.ILIAS chooses the first one,...
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.string xml string
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.array array of array with keys "component", entity", "ids"
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static makeDirParents($a_dir)
Create a new directory and all parent directories.
getAbsoluteExportDirectory()
Get absolute export directory.
Interface ilContentPageObjectConstants.