public function getXmlRepresentation($a_entity, $a_schema_version, $a_id) { include_once "Services/Style/classes/class.ilObjStyleSheet.php"; $style = new ilObjStyleSheet($a_id, false); // images $target = $this->getAbsoluteExportDirectory(); if ($target && !is_dir($target)) { ilUtil::makeDirParents($target); } ilUtil::rCopy($style->getImagesDirectory(), $target); return "<StyleSheetExport>" . "<ImagePath>" . $this->getRelativeExportDirectory() . "</ImagePath>" . $style->getXML() . "</StyleSheetExport>"; }