ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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)
 
 getDefaultSettingsPath ()
 
 setDefaultSettingsPath (string $default_settings_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)
 
 getScssSettingsFolderName ()
 
 setScssSettingsFolderName (string $scss_settings_folder_name)
 

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 scss files. More...
 
string $rel_delos_path = '../../../../../../templates/default/delos'
 Relative delos path from Customizing dir to delos css and Scss files. More...
 
string $default_settings_path = '../templates/default/010-settings'
 Path to variables Scss file of delos. More...
 
string $default_images_path = './assets/images/'
 Path to images directory of delos. More...
 
string $default_fonts_path = '../templates/default/fonts/'
 Path to fonts directory of delos. More...
 
string $scss_settings_folder_name = '010-settings/'
 SCSS Settings Folder Name. More...
 
string $default_sounds_path = ''
 Path to sounds directory of delos (currently none given) More...
 
string $customizing_skin_path = './Customizing/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 163 of file class.ilSystemStyleConfig.php.

References $customizing_skin_path.

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

163  : string
164  {
166  }
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 143 of file class.ilSystemStyleConfig.php.

References $default_fonts_path.

143  : string
144  {
146  }
string $default_fonts_path
Path to fonts directory of delos.

◆ getDefaultImagesPath()

ilSystemStyleConfig::getDefaultImagesPath ( )

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

References $default_images_path.

133  : string
134  {
136  }
string $default_images_path
Path to images directory of delos.

◆ getDefaultSettingsPath()

ilSystemStyleConfig::getDefaultSettingsPath ( )

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

References $default_settings_path.

123  : string
124  {
126  }
string $default_settings_path
Path to variables Scss file of delos.

◆ getDefaultSkinId()

ilSystemStyleConfig::getDefaultSkinId ( )

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

References $default_skin_id.

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

83  : string
84  {
86  }
string $default_skin_id
Default skin ID in ILIAS.
+ Here is the caller graph for this function:

◆ getDefaultSoundsPath()

ilSystemStyleConfig::getDefaultSoundsPath ( )

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

References $default_sounds_path.

153  : string
154  {
156  }
string $default_sounds_path
Path to sounds directory of delos (currently none given)

◆ getDefaultStyleId()

ilSystemStyleConfig::getDefaultStyleId ( )

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

References $default_style_id.

Referenced by ilStyleDefinition\getCurrentStyle().

93  : string
94  {
96  }
string $default_style_id
Default system style ID in ILIAS.
+ Here is the caller graph for this function:

◆ getDefaultTemplatePath()

ilSystemStyleConfig::getDefaultTemplatePath ( )

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

References $default_template_path.

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

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

◆ getDelosPath()

ilSystemStyleConfig::getDelosPath ( )

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

References $delos_path.

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

◆ getRelDelosPath()

ilSystemStyleConfig::getRelDelosPath ( )

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

References $rel_delos_path.

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

◆ getScssSettingsFolderName()

ilSystemStyleConfig::getScssSettingsFolderName ( )
Returns
string

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

References $scss_settings_folder_name.

181  : string
182  {
184  }
string $scss_settings_folder_name
SCSS Settings Folder Name.

◆ setDefaultFontsPath()

ilSystemStyleConfig::setDefaultFontsPath ( string  $default_fonts_path)

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

References $default_fonts_path.

148  : void
149  {
150  $this->default_fonts_path = $default_fonts_path;
151  }
string $default_fonts_path
Path to fonts directory of delos.

◆ setDefaultImagesPath()

ilSystemStyleConfig::setDefaultImagesPath ( string  $default_images_path)

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

References $default_images_path.

138  : void
139  {
140  $this->default_images_path = $default_images_path;
141  }
string $default_images_path
Path to images directory of delos.

◆ setDefaultSettingsPath()

ilSystemStyleConfig::setDefaultSettingsPath ( string  $default_settings_path)

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

References $default_settings_path.

128  : void
129  {
130  $this->default_settings_path = $default_settings_path;
131  }
string $default_settings_path
Path to variables Scss file of delos.

◆ setDefaultSkinId()

ilSystemStyleConfig::setDefaultSkinId ( string  $default_skin_id)

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

References $default_skin_id.

88  : void
89  {
90  $this->default_skin_id = $default_skin_id;
91  }
string $default_skin_id
Default skin ID in ILIAS.

◆ setDefaultSoundsPath()

ilSystemStyleConfig::setDefaultSoundsPath ( string  $default_sounds_path)

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

References $default_sounds_path.

158  : void
159  {
160  $this->default_sounds_path = $default_sounds_path;
161  }
string $default_sounds_path
Path to sounds directory of delos (currently none given)

◆ setDefaultStyleId()

ilSystemStyleConfig::setDefaultStyleId ( string  $default_style_id)

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

References $default_style_id.

98  : void
99  {
100  $this->default_style_id = $default_style_id;
101  }
string $default_style_id
Default system style ID in ILIAS.

◆ setDefaultTemplatePath()

ilSystemStyleConfig::setDefaultTemplatePath ( string  $default_template_path)

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

References $default_template_path.

108  : void
109  {
110  $this->default_template_path = $default_template_path;
111  }
string $default_template_path
Path to default template of ILIAS (skin default, style delos)

◆ setDelosPath()

ilSystemStyleConfig::setDelosPath ( string  $delos_path)

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

References $delos_path.

118  : void
119  {
120  $this->delos_path = $delos_path;
121  }
string $delos_path
Path to delos css and scss files.

◆ setRelDelosPath()

ilSystemStyleConfig::setRelDelosPath ( string  $rel_delos_path)

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

References $rel_delos_path.

173  : void
174  {
175  $this->rel_delos_path = $rel_delos_path;
176  }
string $rel_delos_path
Relative delos path from Customizing dir to delos css and Scss files.

◆ setScssSettingsFolderName()

ilSystemStyleConfig::setScssSettingsFolderName ( string  $scss_settings_folder_name)
Parameters
string$scss_settings_folder_name

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

References $scss_settings_folder_name.

189  : void
190  {
191  $this->scss_settings_folder_name = $scss_settings_folder_name;
192  }
string $scss_settings_folder_name
SCSS Settings Folder Name.

Field Documentation

◆ $customizing_skin_path

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

Customizing skin path to place folders for custom skins into.

Definition at line 81 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 = './assets/images/'
protected

Path to images directory of delos.

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

Referenced by getDefaultImagesPath(), and setDefaultImagesPath().

◆ $default_settings_path

string ilSystemStyleConfig::$default_settings_path = '../templates/default/010-settings'
protected

Path to variables Scss file of delos.

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

Referenced by getDefaultSettingsPath(), and setDefaultSettingsPath().

◆ $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 76 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().

◆ $delos_path

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

Path to delos css and scss 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 Scss files.

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

Referenced by getRelDelosPath(), and setRelDelosPath().

◆ $scss_settings_folder_name

string ilSystemStyleConfig::$scss_settings_folder_name = '010-settings/'
protected

SCSS Settings Folder Name.

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

Referenced by getScssSettingsFolderName(), and setScssSettingsFolderName().


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