43 $this->co_page_html_export = new \ilCOPageHTMLExport($this->target_dir);
44 $this->global_screen =
$DIC->globalScreen();
53 $sys_style_html_export = new \ilSystemStyleHTMLExport($this->target_dir);
54 $sys_style_html_export->export();
69 $this->co_page_html_export->createDirectories();
70 $this->co_page_html_export->exportStyles();
71 $this->co_page_html_export->exportSupportScripts();
80 $this->global_screen->tool()->context()->current()->addAdditionalData(
92 $global_screen = $this->global_screen;
94 $css = $global_screen->layout()->meta()->getCss();
95 foreach ($css->getItemsInOrderOfDelivery() as $item) {
98 $js = $global_screen->layout()->meta()->getJs();
99 foreach ($js->getItemsInOrderOfDelivery() as $item) {
112 if (is_int(strpos($file,
"?"))) {
113 $file = substr($file, 0, strpos($file,
"?"));
115 if (is_file($file)) {
116 $dir = dirname($file);
An exception for terminatinating execution or to throw for unit testing.
exportResourceFile(string $target_dir, string $file)
Export resource file.
__construct(string $export_dir, string $sub_dir)
Constructor.
exportResourceFiles()
Export resource files collected by global screen service.
exportSystemStyle()
Export system style.
initGlobalScreen()
Init global screen.
exportCOPageFiles($style_sheet_id=0, $obj_type="")
Export content style.
const HTML_EXPORT_RENDERING
static getInstance()
Singleton: get instance.
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
static makeDirParents($a_dir)
Create a new directory and all parent directories.