ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template of the skin. More...
Public Member Functions | |
__construct (ilLanguage $lng, ?ilSystemStyleConfig $config=null) | |
skinStyleContainerFromId (string $skin_id, ilSystemStyleMessageStack $message_stack) | |
Get container 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... | |
skinStyleContainerFromZip (string $import_zip_path, string $name, ilSystemStyleMessageStack $message_stack) | |
Imports a skin from zip. More... | |
copyFromSkinStyleContainer (ilSkinStyleContainer $container, ilFileSystemHelper $file_system, ilSystemStyleMessageStack $message_stack, string $new_skin_txt_addon='Copy') | |
Copies a complete Skin. More... | |
Protected Attributes | |
ilSystemStyleConfig | $config |
ilLanguage | $lng |
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template of the skin.
Definition at line 24 of file class.ilSkinFactory.php.
ilSkinFactory::__construct | ( | ilLanguage | $lng, |
?ilSystemStyleConfig | $config = null |
||
) |
Definition at line 29 of file class.ilSkinFactory.php.
References $config, Vendor\Package\$e, $id, $lng, $path, $xml, ilSystemStyleException\FILE_OPENING_FAILED, ILIAS\Repository\lng(), ilSystemStyleException\NO_PARENT_STYLE, ilSkinStyle\parseFromXMLElement(), and ilSkin\setVersion().
ilSkinFactory::copyFromSkinStyleContainer | ( | ilSkinStyleContainer | $container, |
ilFileSystemHelper | $file_system, | ||
ilSystemStyleMessageStack | $message_stack, | ||
string | $new_skin_txt_addon = 'Copy' |
||
) |
Copies a complete Skin.
ilSystemStyleException |
Definition at line 142 of file class.ilSkinFactory.php.
References ilSkinStyleContainer\getSkin(), ilSkinStyleContainer\getSkinDirectory(), ilSkinStyleContainer\getSystemStylesConf(), ilFileSystemHelper\recursiveCopy(), ilStyleDefinition\skinExists(), and skinStyleContainerFromId().
ilSkinFactory::skinStyleContainerFromId | ( | string | $skin_id, |
ilSystemStyleMessageStack | $message_stack | ||
) |
Get container 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.
ilSystemStyleException |
Definition at line 85 of file class.ilSkinFactory.php.
References ILIAS\Repository\lng(), and ilSystemStyleException\NO_SKIN_ID.
Referenced by ilSystemStyleLessGUI\__construct(), ilSystemStyleIconsGUI\__construct(), ilSystemStyleOverviewGUI\__construct(), copyFromSkinStyleContainer(), and skinStyleContainerFromZip().
ilSkinFactory::skinStyleContainerFromZip | ( | string | $import_zip_path, |
string | $name, | ||
ilSystemStyleMessageStack | $message_stack | ||
) |
Imports a skin from zip.
ilSystemStyleException |
Definition at line 114 of file class.ilSkinFactory.php.
References $name, ilStyleDefinition\skinExists(), skinStyleContainerFromId(), and ilFileUtils\unzip().
|
protected |
Definition at line 26 of file class.ilSkinFactory.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilSkinFactory.php.
Referenced by __construct().