|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template of the skin. More...
Collaboration diagram for ilSkinFactory: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 |
Private Attributes | |
| Archives | $archives |
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 30 of file class.ilSkinFactory.php.
| ilSkinFactory::__construct | ( | ilLanguage | $lng, |
| ?ilSystemStyleConfig | $config = null |
||
| ) |
Definition at line 36 of file class.ilSkinFactory.php.
References $config, $DIC, Vendor\Package\$e, $id, $lng, $path, ilSystemStyleException\FILE_OPENING_FAILED, ILIAS\Repository\lng(), ilSystemStyleException\NO_PARENT_STYLE, ilSkinStyle\parseFromXMLElement(), and ilSkin\setVersion().
Here is the call graph for this function:| ilSkinFactory::copyFromSkinStyleContainer | ( | ilSkinStyleContainer | $container, |
| ilFileSystemHelper | $file_system, | ||
| ilSystemStyleMessageStack | $message_stack, | ||
| string | $new_skin_txt_addon = 'Copy' |
||
| ) |
Copies a complete Skin.
| ilSystemStyleException |
Definition at line 161 of file class.ilSkinFactory.php.
References ilSkinStyleContainer\getSkin(), ilSkinStyleContainer\getSkinDirectory(), ilSkinStyleContainer\getSystemStylesConf(), ilFileSystemHelper\recursiveCopy(), ilStyleDefinition\skinExists(), and skinStyleContainerFromId().
Here is the call graph for this function:| 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 94 of file class.ilSkinFactory.php.
References ILIAS\Repository\lng(), and ilSystemStyleException\NO_SKIN_ID.
Referenced by ilSystemStyleScssGUI\__construct(), ilSystemStyleIconsGUI\__construct(), ilSystemStyleOverviewGUI\__construct(), copyFromSkinStyleContainer(), and skinStyleContainerFromZip().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkinFactory::skinStyleContainerFromZip | ( | string | $import_zip_path, |
| string | $name, | ||
| ilSystemStyleMessageStack | $message_stack | ||
| ) |
Imports a skin from zip.
| ilSystemStyleException |
Definition at line 123 of file class.ilSkinFactory.php.
References $container, ilStyleDefinition\skinExists(), and skinStyleContainerFromId().
Here is the call graph for this function:
|
private |
Definition at line 32 of file class.ilSkinFactory.php.
|
protected |
Definition at line 33 of file class.ilSkinFactory.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilSkinFactory.php.
Referenced by __construct().