19 $this->ds = new \ilContentPageDataSet();
20 $this->ds->setDSPrefix(
'ds');
37 parent::finalProcessing($a_mapping);
39 $copaMap = $a_mapping->getMappingsOfEntity(
'Services/COPage',
'pg');
40 foreach ($copaMap as $oldCopaId => $newCopaId) {
41 $newCopaId = substr($newCopaId, strlen(self::OBJ_TYPE) + 1);
46 $styleMapping = $a_mapping->getMappingsOfEntity(
'Modules/ContentPage',
'style');
47 foreach ($styleMapping as $newCopaId => $oldStyleId) {
48 $newStyleId = (int) $a_mapping->getMapping(
'Services/Style',
'sty', $oldStyleId);
49 if ($newCopaId > 0 && $newStyleId > 0) {
54 $copa->writeStyleSheetId($newStyleId);
getSchemaVersion()
Get schema version.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
getImportDirectory()
Get import directory.
Interface ilContentPageObjectConstants.
static _writeParentId($a_parent_type, $a_pg_id, $a_par_id)
Write parent id.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Class ilContentPageImporter.
finalProcessing($a_mapping)