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);
 
An exception for terminatinating execution or to throw for unit testing.
Class ilContentPageImporter.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import xml representation.string xml string
finalProcessing($a_mapping)
Final processing.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static _writeParentId($a_parent_type, $a_pg_id, $a_par_id)
Write parent id.
getSchemaVersion()
Get schema version.
getImportDirectory()
Get import directory.
Interface ilContentPageObjectConstants.