ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This class is responsible for all file system related actions related actions of a skin such as copying files and folders, generating a new skin, deleting a skin etc. More...
Public Member Functions | |
__construct (Language $lng, ilSkin $skin, ilSystemStyleMessageStack $message_stack, ?ilSystemStyleConfig $system_styles_conf=null,) | |
export () | |
Exports the complete skin to an zip file. More... | |
createTempZip () | |
Creates a temp zip file. More... | |
getSkin () | |
setSkin (ilSkin $skin) | |
getSkinDirectory () | |
getCSSFilePath (string $style_id) | |
getScssFilePath (string $style_id) | |
getScssSettingsPath (string $style_id) | |
getScssSettingsFolderName () | |
getImagesStylePath (string $style_id) | |
getSoundsStylePath (string $style_id) | |
getFontsStylePath (string $style_id) | |
getMessageStack () | |
setMessageStack (ilSystemStyleMessageStack $message_stack) | |
getSystemStylesConf () | |
setSystemStylesConf (ilSystemStyleConfig $system_styles_conf) | |
Protected Member Functions | |
writeSkinToXML () | |
Protected Attributes | |
Language | $lng |
ilSkin | $skin |
Data-scope for the skin this container capsules. More... | |
ilSystemStyleMessageStack | $message_stack |
Used to stack messages to be displayed to the user (mostly reports for failed actions) More... | |
ilSystemStyleConfig | $system_styles_conf |
Used to wire this component up with the correct pathes into the customizing directory. More... | |
This class is responsible for all file system related actions related actions of a skin such as copying files and folders, generating a new skin, deleting a skin etc.
It contains exactly one skin containing several styles. Use this class to parse a skin from xml.
Definition at line 28 of file class.ilSkinStyleContainer.php.
ilSkinStyleContainer::__construct | ( | Language | $lng, |
ilSkin | $skin, | ||
ilSystemStyleMessageStack | $message_stack, | ||
?ilSystemStyleConfig | $system_styles_conf = null |
||
) |
Definition at line 47 of file class.ilSkinStyleContainer.php.
References $lng, $skin, ILIAS\Repository\lng(), setMessageStack(), and setSystemStylesConf().
ilSkinStyleContainer::createTempZip | ( | ) |
Creates a temp zip file.
Definition at line 80 of file class.ilSkinStyleContainer.php.
References getSkin(), getSkinDirectory(), and ilFileUtils\zip().
Referenced by export().
ilSkinStyleContainer::export | ( | ) |
Exports the complete skin to an zip file.
Definition at line 67 of file class.ilSkinStyleContainer.php.
References createTempZip(), ilFileDelivery\deliverFileAttached(), ILIAS\Survey\Mode\getId(), and getSkin().
ilSkinStyleContainer::getCSSFilePath | ( | string | $style_id | ) |
Definition at line 109 of file class.ilSkinStyleContainer.php.
References getSkinDirectory().
ilSkinStyleContainer::getFontsStylePath | ( | string | $style_id | ) |
Definition at line 139 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
ilSkinStyleContainer::getImagesStylePath | ( | string | $style_id | ) |
Definition at line 129 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
ilSkinStyleContainer::getMessageStack | ( | ) |
Definition at line 144 of file class.ilSkinStyleContainer.php.
References $message_stack.
ilSkinStyleContainer::getScssFilePath | ( | string | $style_id | ) |
Definition at line 114 of file class.ilSkinStyleContainer.php.
References getSkinDirectory().
ilSkinStyleContainer::getScssSettingsFolderName | ( | ) |
Definition at line 124 of file class.ilSkinStyleContainer.php.
ilSkinStyleContainer::getScssSettingsPath | ( | string | $style_id | ) |
Definition at line 119 of file class.ilSkinStyleContainer.php.
References getSkinDirectory().
ilSkinStyleContainer::getSkin | ( | ) |
Definition at line 94 of file class.ilSkinStyleContainer.php.
References $skin.
Referenced by createTempZip(), export(), getFontsStylePath(), getImagesStylePath(), getSkinDirectory(), getSoundsStylePath(), ilSkinFactoryTest\testSkinStyleContainerFromId(), and writeSkinToXML().
ilSkinStyleContainer::getSkinDirectory | ( | ) |
Definition at line 104 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSystemStylesConf().
Referenced by createTempZip(), getCSSFilePath(), getFontsStylePath(), getImagesStylePath(), getScssFilePath(), getScssSettingsPath(), getSoundsStylePath(), and writeSkinToXML().
ilSkinStyleContainer::getSoundsStylePath | ( | string | $style_id | ) |
Definition at line 134 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
ilSkinStyleContainer::getSystemStylesConf | ( | ) |
Definition at line 159 of file class.ilSkinStyleContainer.php.
References $system_styles_conf.
Referenced by getSkinDirectory().
ilSkinStyleContainer::setMessageStack | ( | ilSystemStyleMessageStack | $message_stack | ) |
Definition at line 149 of file class.ilSkinStyleContainer.php.
References $message_stack.
Referenced by __construct().
ilSkinStyleContainer::setSkin | ( | ilSkin | $skin | ) |
Definition at line 99 of file class.ilSkinStyleContainer.php.
References $skin.
ilSkinStyleContainer::setSystemStylesConf | ( | ilSystemStyleConfig | $system_styles_conf | ) |
Definition at line 164 of file class.ilSkinStyleContainer.php.
References $system_styles_conf.
Referenced by __construct().
|
protected |
Definition at line 154 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
|
protected |
Definition at line 30 of file class.ilSkinStyleContainer.php.
Referenced by __construct().
|
protected |
Used to stack messages to be displayed to the user (mostly reports for failed actions)
Definition at line 40 of file class.ilSkinStyleContainer.php.
Referenced by getMessageStack(), and setMessageStack().
|
protected |
Data-scope for the skin this container capsules.
Definition at line 35 of file class.ilSkinStyleContainer.php.
Referenced by __construct(), getSkin(), and setSkin().
|
protected |
Used to wire this component up with the correct pathes into the customizing directory.
Definition at line 45 of file class.ilSkinStyleContainer.php.
Referenced by getSystemStylesConf(), and setSystemStylesConf().