|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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...
Collaboration diagram for ilSkinStyleContainer: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, $system_styles_conf, ILIAS\Repository\lng(), setMessageStack(), and setSystemStylesConf().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| ilSkinStyleContainer::getCSSFilePath | ( | string | $style_id | ) |
Definition at line 109 of file class.ilSkinStyleContainer.php.
References getSkinDirectory().
Here is the call graph for this function:| ilSkinStyleContainer::getFontsStylePath | ( | string | $style_id | ) |
Definition at line 139 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
Here is the call graph for this function:| ilSkinStyleContainer::getImagesStylePath | ( | string | $style_id | ) |
Definition at line 129 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkinStyleContainer::getSoundsStylePath | ( | string | $style_id | ) |
Definition at line 134 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
Here is the call graph for this function:| ilSkinStyleContainer::getSystemStylesConf | ( | ) |
Definition at line 159 of file class.ilSkinStyleContainer.php.
References $system_styles_conf.
Referenced by getSkinDirectory().
Here is the caller graph for this function:| ilSkinStyleContainer::setMessageStack | ( | ilSystemStyleMessageStack | $message_stack | ) |
Definition at line 149 of file class.ilSkinStyleContainer.php.
References $message_stack.
Referenced by __construct().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
protected |
Definition at line 154 of file class.ilSkinStyleContainer.php.
References getSkin(), and getSkinDirectory().
Here is the call graph for this function:
|
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 __construct(), getSystemStylesConf(), and setSystemStylesConf().