19 declare(strict_types=1);
    57         if (!$system_styles_conf) {
    84         if (strpos($skin_directory, 
'../') === 0) { 
    85             $skin_directory = realpath(__DIR__ . 
'/../../../../../../templates/' . $skin_directory);
    87         $output_file = dirname($skin_directory) . 
'/' . $this->
getSkin()->getId() . 
'.zip';
   111         return $this->
getSkinDirectory() . $style_id . 
"/".$this->getSkin()->getStyle($style_id)->getCssFile() . 
'.css';
   116         return $this->
getSkinDirectory() . $style_id . 
"/".$this->getSkin()->getStyle($style_id)->getCssFile() . 
'.scss';
   121         return $this->
getSkinDirectory() . $style_id . 
"/".$this->getScssSettingsFolderName();
   126         return  $this->system_styles_conf->getScssSettingsFolderName();
 
setSystemStylesConf(ilSystemStyleConfig $system_styles_conf)
 
getScssSettingsPath(string $style_id)
 
setMessageStack(ilSystemStyleMessageStack $message_stack)
 
ilSystemStyleConfig $system_styles_conf
Used to wire this component up with the correct pathes into the customizing directory. 
 
getCSSFilePath(string $style_id)
 
ilSystemStyleMessageStack $message_stack
Used to stack messages to be displayed to the user (mostly reports for failed actions) ...
 
getSoundsStylePath(string $style_id)
 
ilSkin $skin
Data-scope for the skin this container capsules. 
 
This class is responsible for all file system related actions related actions of a skin such as copyi...
 
getScssSettingsFolderName()
 
getScssFilePath(string $style_id)
 
static deliverFileAttached(string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, bool $delete_file=false)
 
createTempZip()
Creates a temp zip file. 
 
__construct(Language $lng, ilSkin $skin, ilSystemStyleMessageStack $message_stack, ilSystemStyleConfig $system_styles_conf=null,)
 
ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'const...
 
getFontsStylePath(string $style_id)
 
static zip(string $a_dir, string $a_file, bool $compress_content=false)
 
export()
Exports the complete skin to an zip file. 
 
Used to stack messages to be shown to the user. 
 
getImagesStylePath(string $style_id)
 
ilSkin holds an manages the basic data of a skin as provide by the template of the skin...