ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSystemStyleConfig Class Reference

ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'constants'. More...

+ Inheritance diagram for ilSystemStyleConfig:
+ Collaboration diagram for ilSystemStyleConfig:

Public Member Functions

 getDefaultSkinId ()
 
 setDefaultSkinId (string $default_skin_id)
 
 getDefaultStyleId ()
 
 setDefaultStyleId (string $default_style_id)
 
 getDefaultTemplatePath ()
 
 setDefaultTemplatePath (string $default_template_path)
 
 getDelosPath ()
 
 setDelosPath (string $delos_path)
 
 getDefaultVariablesPath ()
 
 setDefaultVariablesPath (string $default_variables_path)
 
 getDefaultImagesPath ()
 
 setDefaultImagesPath (string $default_images_path)
 
 getDefaultFontsPath ()
 
 setDefaultFontsPath (string $default_fonts_path)
 
 getDefaultSoundsPath ()
 
 setDefaultSoundsPath (string $default_sounds_path)
 
 getCustomizingSkinPath ()
 
 getRelDelosPath ()
 
 setRelDelosPath (string $rel_delos_path)
 

Protected Attributes

string $default_skin_id = 'default'
 Default skin ID in ILIAS. More...
 
string $default_style_id = 'delos'
 Default system style ID in ILIAS. More...
 
string $default_template_path = './templates/default/template.xml'
 Path to default template of ILIAS (skin default, style delos) More...
 
string $delos_path = './templates/default/delos'
 Path to delos css and less files. More...
 
string $rel_delos_path = '../../../../templates/default/delos'
 Relative delos path from Customizing dir to delos css and less files. More...
 
string $default_variables_path = './templates/default/less/variables.less'
 Path to variables less file of delos. More...
 
string $default_images_path = './templates/default/images/'
 Path to images directory of delos. More...
 
string $default_fonts_path = './templates/default/fonts/'
 Path to fonts directory of delos. More...
 
string $default_sounds_path = ''
 Path to sounds directory of delos (currently none given) More...
 
string $customizing_skin_path = './Customizing/global/skin/'
 Customizing skin path to place folders for custom skins into. More...
 

Detailed Description

ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'constants'.

This class is injected in all other classes using this dependency.

Definition at line 25 of file class.ilSystemStyleConfig.php.

Member Function Documentation

◆ getCustomizingSkinPath()

ilSystemStyleConfig::getCustomizingSkinPath ( )

Definition at line 158 of file class.ilSystemStyleConfig.php.

References $customizing_skin_path.

Referenced by ilStyleDefinition\getSoundDirectory(), and ilStyleDefinition\skinExists().

158  : string
159  {
161  }
string $customizing_skin_path
Customizing skin path to place folders for custom skins into.
+ Here is the caller graph for this function:

◆ getDefaultFontsPath()

ilSystemStyleConfig::getDefaultFontsPath ( )

Definition at line 138 of file class.ilSystemStyleConfig.php.

References $default_fonts_path.

138  : string
139  {
141  }
string $default_fonts_path
Path to fonts directory of delos.

◆ getDefaultImagesPath()

ilSystemStyleConfig::getDefaultImagesPath ( )

Definition at line 128 of file class.ilSystemStyleConfig.php.

References $default_images_path.

128  : string
129  {
131  }
string $default_images_path
Path to images directory of delos.

◆ getDefaultSkinId()

ilSystemStyleConfig::getDefaultSkinId ( )

Definition at line 78 of file class.ilSystemStyleConfig.php.

References $default_skin_id.

Referenced by ilStyleDefinition\getCurrentStyle(), ilStyleDefinition\getSoundDirectory(), and ilStyleDefinition\skinExists().

78  : string
79  {
81  }
string $default_skin_id
Default skin ID in ILIAS.
+ Here is the caller graph for this function:

◆ getDefaultSoundsPath()

ilSystemStyleConfig::getDefaultSoundsPath ( )

Definition at line 148 of file class.ilSystemStyleConfig.php.

References $default_sounds_path.

148  : string
149  {
151  }
string $default_sounds_path
Path to sounds directory of delos (currently none given)

◆ getDefaultStyleId()

ilSystemStyleConfig::getDefaultStyleId ( )

Definition at line 88 of file class.ilSystemStyleConfig.php.

References $default_style_id.

Referenced by ilStyleDefinition\getCurrentStyle().

88  : string
89  {
91  }
string $default_style_id
Default system style ID in ILIAS.
+ Here is the caller graph for this function:

◆ getDefaultTemplatePath()

ilSystemStyleConfig::getDefaultTemplatePath ( )

Definition at line 98 of file class.ilSystemStyleConfig.php.

References $default_template_path.

Referenced by ilStyleDefinition\getSoundDirectory(), and ilStyleDefinition\skinExists().

98  : string
99  {
101  }
string $default_template_path
Path to default template of ILIAS (skin default, style delos)
+ Here is the caller graph for this function:

◆ getDefaultVariablesPath()

ilSystemStyleConfig::getDefaultVariablesPath ( )

Definition at line 118 of file class.ilSystemStyleConfig.php.

References $default_variables_path.

118  : string
119  {
121  }
string $default_variables_path
Path to variables less file of delos.

◆ getDelosPath()

ilSystemStyleConfig::getDelosPath ( )

Definition at line 108 of file class.ilSystemStyleConfig.php.

References $delos_path.

108  : string
109  {
110  return $this->delos_path;
111  }
string $delos_path
Path to delos css and less files.

◆ getRelDelosPath()

ilSystemStyleConfig::getRelDelosPath ( )

Definition at line 163 of file class.ilSystemStyleConfig.php.

References $rel_delos_path.

163  : string
164  {
165  return $this->rel_delos_path;
166  }
string $rel_delos_path
Relative delos path from Customizing dir to delos css and less files.

◆ setDefaultFontsPath()

ilSystemStyleConfig::setDefaultFontsPath ( string  $default_fonts_path)

Definition at line 143 of file class.ilSystemStyleConfig.php.

References $default_fonts_path.

143  : void
144  {
145  $this->default_fonts_path = $default_fonts_path;
146  }
string $default_fonts_path
Path to fonts directory of delos.

◆ setDefaultImagesPath()

ilSystemStyleConfig::setDefaultImagesPath ( string  $default_images_path)

Definition at line 133 of file class.ilSystemStyleConfig.php.

References $default_images_path.

133  : void
134  {
135  $this->default_images_path = $default_images_path;
136  }
string $default_images_path
Path to images directory of delos.

◆ setDefaultSkinId()

ilSystemStyleConfig::setDefaultSkinId ( string  $default_skin_id)

Definition at line 83 of file class.ilSystemStyleConfig.php.

References $default_skin_id.

83  : void
84  {
85  $this->default_skin_id = $default_skin_id;
86  }
string $default_skin_id
Default skin ID in ILIAS.

◆ setDefaultSoundsPath()

ilSystemStyleConfig::setDefaultSoundsPath ( string  $default_sounds_path)

Definition at line 153 of file class.ilSystemStyleConfig.php.

References $default_sounds_path.

153  : void
154  {
155  $this->default_sounds_path = $default_sounds_path;
156  }
string $default_sounds_path
Path to sounds directory of delos (currently none given)

◆ setDefaultStyleId()

ilSystemStyleConfig::setDefaultStyleId ( string  $default_style_id)

Definition at line 93 of file class.ilSystemStyleConfig.php.

References $default_style_id.

93  : void
94  {
95  $this->default_style_id = $default_style_id;
96  }
string $default_style_id
Default system style ID in ILIAS.

◆ setDefaultTemplatePath()

ilSystemStyleConfig::setDefaultTemplatePath ( string  $default_template_path)

Definition at line 103 of file class.ilSystemStyleConfig.php.

References $default_template_path.

103  : void
104  {
105  $this->default_template_path = $default_template_path;
106  }
string $default_template_path
Path to default template of ILIAS (skin default, style delos)

◆ setDefaultVariablesPath()

ilSystemStyleConfig::setDefaultVariablesPath ( string  $default_variables_path)

Definition at line 123 of file class.ilSystemStyleConfig.php.

References $default_variables_path.

123  : void
124  {
125  $this->default_variables_path = $default_variables_path;
126  }
string $default_variables_path
Path to variables less file of delos.

◆ setDelosPath()

ilSystemStyleConfig::setDelosPath ( string  $delos_path)

Definition at line 113 of file class.ilSystemStyleConfig.php.

References $delos_path.

113  : void
114  {
115  $this->delos_path = $delos_path;
116  }
string $delos_path
Path to delos css and less files.

◆ setRelDelosPath()

ilSystemStyleConfig::setRelDelosPath ( string  $rel_delos_path)

Definition at line 168 of file class.ilSystemStyleConfig.php.

References $rel_delos_path.

168  : void
169  {
170  $this->rel_delos_path = $rel_delos_path;
171  }
string $rel_delos_path
Relative delos path from Customizing dir to delos css and less files.

Field Documentation

◆ $customizing_skin_path

string ilSystemStyleConfig::$customizing_skin_path = './Customizing/global/skin/'
protected

Customizing skin path to place folders for custom skins into.

Definition at line 76 of file class.ilSystemStyleConfig.php.

Referenced by getCustomizingSkinPath().

◆ $default_fonts_path

string ilSystemStyleConfig::$default_fonts_path = './templates/default/fonts/'
protected

Path to fonts directory of delos.

Definition at line 66 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultFontsPath(), and setDefaultFontsPath().

◆ $default_images_path

string ilSystemStyleConfig::$default_images_path = './templates/default/images/'
protected

Path to images directory of delos.

Definition at line 61 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultImagesPath(), and setDefaultImagesPath().

◆ $default_skin_id

string ilSystemStyleConfig::$default_skin_id = 'default'
protected

Default skin ID in ILIAS.

Definition at line 30 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultSkinId(), and setDefaultSkinId().

◆ $default_sounds_path

string ilSystemStyleConfig::$default_sounds_path = ''
protected

Path to sounds directory of delos (currently none given)

Definition at line 71 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultSoundsPath(), and setDefaultSoundsPath().

◆ $default_style_id

string ilSystemStyleConfig::$default_style_id = 'delos'
protected

Default system style ID in ILIAS.

Definition at line 35 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultStyleId(), and setDefaultStyleId().

◆ $default_template_path

string ilSystemStyleConfig::$default_template_path = './templates/default/template.xml'
protected

Path to default template of ILIAS (skin default, style delos)

Definition at line 40 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultTemplatePath(), and setDefaultTemplatePath().

◆ $default_variables_path

string ilSystemStyleConfig::$default_variables_path = './templates/default/less/variables.less'
protected

Path to variables less file of delos.

Definition at line 56 of file class.ilSystemStyleConfig.php.

Referenced by getDefaultVariablesPath(), and setDefaultVariablesPath().

◆ $delos_path

string ilSystemStyleConfig::$delos_path = './templates/default/delos'
protected

Path to delos css and less files.

Definition at line 45 of file class.ilSystemStyleConfig.php.

Referenced by getDelosPath(), and setDelosPath().

◆ $rel_delos_path

string ilSystemStyleConfig::$rel_delos_path = '../../../../templates/default/delos'
protected

Relative delos path from Customizing dir to delos css and less files.

Definition at line 50 of file class.ilSystemStyleConfig.php.

Referenced by getRelDelosPath(), and setRelDelosPath().


The documentation for this class was generated from the following file: