Definition at line 27 of file ilSystemStyleBaseFS.php.
◆ getAllContentOfFolder()
ilSystemStyleBaseFS::getAllContentOfFolder |
( |
string |
$directory | ) |
|
|
protected |
Definition at line 53 of file ilSystemStyleBaseFS.php.
53 : string
54 {
55 $files = scandir($directory);
56 $content = "";
57
58 foreach ($files as $file) {
59 if (is_file($directory . '/' . $file)) {
60 $content .= file_get_contents($directory . '/' . $file);
61 }
62 }
63
64 return $content;
65 }
◆ setUp()
ilSystemStyleBaseFS::setUp |
( |
| ) |
|
|
protected |
@noRector
Reimplemented in ilSystemStyleOverviewGUITest, ilSkinFactoryTest, and ilSkinTest.
Definition at line 36 of file ilSystemStyleBaseFS.php.
36 : void
37 {
39 $DIC[
'tpl'] = $this->getMockBuilder(ilGlobalTemplateInterface::class)->getMock();
42
45
46
47
49 $this->container = $factory->skinStyleContainerFromId('skin1', $this->message_stack);
50 $this->style = $this->container->getSkin()->getStyle('style1');
51 }
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'const...
Used to stack messages to be shown to the user.
References $DIC, and ILIAS\Repository\lng().
◆ $container
◆ $lng
◆ $message_stack
◆ $save_dic
ILIAS DI Container ilSystemStyleBaseFS::$save_dic = null |
|
protected |
◆ $style
◆ $system_style_config
The documentation for this class was generated from the following file: