Definition at line 23 of file ilSkinFactoryTest.php.
◆ setUp()
ilSkinFactoryTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 30 of file ilSkinFactoryTest.php.
References $DIC, factory(), and ILIAS\Repository\lng().
34 $this->skin =
new ilSkin(
'skin1',
'skin 1');
36 $this->style1 =
new ilSkinStyle(
'style1',
'Style 1');
37 $this->style1->setCssFile(
'style1');
38 $this->style1->setImageDirectory(
'style1image');
39 $this->style1->setSoundDirectory(
'style1sound');
40 $this->style1->setFontDirectory(
'style1font');
42 $this->style2 =
new ilSkinStyle(
'style2',
'Style 2');
43 $this->style2->setCssFile(
'style2');
44 $this->style2->setImageDirectory(
'style2image');
45 $this->style2->setSoundDirectory(
'style2sound');
46 $this->style2->setFontDirectory(
'style2font');
53 $DIC[
'tpl'] = $this->getMockBuilder(ilGlobalTemplateInterface::class)->getMock();
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
ilSkin holds an manages the basic data of a skin as provide by the template of the skin...
◆ testSkinFromXML()
ilSkinFactoryTest::testSkinFromXML |
( |
| ) |
|
Definition at line 56 of file ilSkinFactoryTest.php.
References ilSkin\asXML(), and ILIAS\Repository\lng().
59 $skin =
$factory->skinFromXML($this->system_style_config->getCustomizingSkinPath() .
'skin1/template.xml');
62 file_get_contents($this->system_style_config->getCustomizingSkinPath() .
'skin1/template.xml')
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
asXML()
Stores the skin and all it's styles as xml.
◆ testSkinStyleContainerFromId()
ilSkinFactoryTest::testSkinStyleContainerFromId |
( |
| ) |
|
◆ $factory
◆ $skin
ilSkin ilSkinFactoryTest::$skin |
|
protected |
◆ $style1
◆ $style2
The documentation for this class was generated from the following file: