ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 ($default_skin_id)
 
 getDefaultStyleId ()
 
 setDefaultStyleId ($default_style_id)
 
 getDefaultTemplatePath ()
 
 setDefaultTemplatePath ($default_template_path)
 
 getDelosPath ()
 
 setDelosPath ($delos_path)
 
 getDefaultVariablesPath ()
 
 setDefaultVariablesPath ($default_variables_path)
 
 getDefaultImagesPath ()
 
 setDefaultImagesPath ($default_images_path)
 
 getDefaultFontsPath ()
 
 setDefaultFontsPath ($default_fonts_path)
 
 getDefaultSoundsPath ()
 
 setDefaultSoundsPath ($default_sounds_path)
 
 getCustomizingSkinPath ()
 
 setCustomizingSkinPath ($customizing_skin_path)
 
 getRelDelosPath ()
 
 setRelDelosPath ($rel_delos_path)
 

Protected Attributes

 $default_skin_id = "default"
 
 $default_style_id = "delos"
 
 $default_template_path = "./templates/default/template.xml"
 
 $delos_path = "./templates/default/delos"
 
 $rel_delos_path = "../../../../templates/default/delos"
 
 $default_variables_path = "./templates/default/less/variables.less"
 
 $default_images_path = "./templates/default/images/"
 
 $default_fonts_path = "./templates/default/fonts/"
 
 $default_sounds_path = ""
 
 $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.

Author
Timon Amstutz timon.nosp@m..ams.nosp@m.tutz@.nosp@m.ilub.nosp@m..unib.nosp@m.e.ch
Version
$Id$

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

Member Function Documentation

◆ getCustomizingSkinPath()

ilSystemStyleConfig::getCustomizingSkinPath ( )
Returns
mixed

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

References $customizing_skin_path.

218  {
220  }
$customizing_skin_path
Customizing skin path to place folders for custom skins into.

◆ getDefaultFontsPath()

ilSystemStyleConfig::getDefaultFontsPath ( )
Returns
string

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

References $default_fonts_path.

◆ getDefaultImagesPath()

ilSystemStyleConfig::getDefaultImagesPath ( )
Returns
string

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

References $default_images_path.

◆ getDefaultSkinId()

ilSystemStyleConfig::getDefaultSkinId ( )
Returns
string

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

References $default_skin_id.

◆ getDefaultSoundsPath()

ilSystemStyleConfig::getDefaultSoundsPath ( )
Returns
string

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

References $default_sounds_path.

◆ getDefaultStyleId()

ilSystemStyleConfig::getDefaultStyleId ( )
Returns
string

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

References $default_style_id.

◆ getDefaultTemplatePath()

ilSystemStyleConfig::getDefaultTemplatePath ( )
Returns
string

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

References $default_template_path.

◆ getDefaultVariablesPath()

ilSystemStyleConfig::getDefaultVariablesPath ( )
Returns
string

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

References $default_variables_path.

◆ getDelosPath()

ilSystemStyleConfig::getDelosPath ( )
Returns
string

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

References $delos_path.

138  {
139  return $this->delos_path;
140  }

◆ getRelDelosPath()

ilSystemStyleConfig::getRelDelosPath ( )
Returns
string

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

References $rel_delos_path.

234  {
235  return $this->rel_delos_path;
236  }

◆ setCustomizingSkinPath()

ilSystemStyleConfig::setCustomizingSkinPath (   $customizing_skin_path)
Parameters
mixed$customizing_skin_path

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

References $customizing_skin_path.

226  {
227  $this->customizing_skin_path = $customizing_skin_path;
228  }
$customizing_skin_path
Customizing skin path to place folders for custom skins into.

◆ setDefaultFontsPath()

ilSystemStyleConfig::setDefaultFontsPath (   $default_fonts_path)
Parameters
string$default_fonts_path

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

References $default_fonts_path.

194  {
195  $this->default_fonts_path = $default_fonts_path;
196  }

◆ setDefaultImagesPath()

ilSystemStyleConfig::setDefaultImagesPath (   $default_images_path)
Parameters
string$default_images_path

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

References $default_images_path.

178  {
179  $this->default_images_path = $default_images_path;
180  }

◆ setDefaultSkinId()

ilSystemStyleConfig::setDefaultSkinId (   $default_skin_id)
Parameters
string$default_skin_id

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

References $default_skin_id.

98  {
99  $this->default_skin_id = $default_skin_id;
100  }

◆ setDefaultSoundsPath()

ilSystemStyleConfig::setDefaultSoundsPath (   $default_sounds_path)
Parameters
string$default_sounds_path

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

References $default_sounds_path.

210  {
211  $this->default_sounds_path = $default_sounds_path;
212  }

◆ setDefaultStyleId()

ilSystemStyleConfig::setDefaultStyleId (   $default_style_id)
Parameters
string$default_style_id

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

References $default_style_id.

114  {
115  $this->default_style_id = $default_style_id;
116  }

◆ setDefaultTemplatePath()

ilSystemStyleConfig::setDefaultTemplatePath (   $default_template_path)
Parameters
string$default_template_path

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

References $default_template_path.

130  {
131  $this->default_template_path = $default_template_path;
132  }

◆ setDefaultVariablesPath()

ilSystemStyleConfig::setDefaultVariablesPath (   $default_variables_path)
Parameters
string$default_variables_path

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

References $default_variables_path.

162  {
163  $this->default_variables_path = $default_variables_path;
164  }

◆ setDelosPath()

ilSystemStyleConfig::setDelosPath (   $delos_path)
Parameters
string$delos_path

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

References $delos_path.

146  {
147  $this->delos_path = $delos_path;
148  }

◆ setRelDelosPath()

ilSystemStyleConfig::setRelDelosPath (   $rel_delos_path)
Parameters
string$rel_delos_path

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

References $rel_delos_path.

242  {
243  $this->rel_delos_path = $rel_delos_path;
244  }

Field Documentation

◆ $customizing_skin_path

ilSystemStyleConfig::$customizing_skin_path = "./Customizing/global/skin/"
protected

Customizing skin path to place folders for custom skins into.

string

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

Referenced by getCustomizingSkinPath(), and setCustomizingSkinPath().

◆ $default_fonts_path

ilSystemStyleConfig::$default_fonts_path = "./templates/default/fonts/"
protected

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

Referenced by getDefaultFontsPath(), and setDefaultFontsPath().

◆ $default_images_path

ilSystemStyleConfig::$default_images_path = "./templates/default/images/"
protected

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

Referenced by getDefaultImagesPath(), and setDefaultImagesPath().

◆ $default_skin_id

ilSystemStyleConfig::$default_skin_id = "default"
protected

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

Referenced by getDefaultSkinId(), and setDefaultSkinId().

◆ $default_sounds_path

ilSystemStyleConfig::$default_sounds_path = ""
protected

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

Referenced by getDefaultSoundsPath(), and setDefaultSoundsPath().

◆ $default_style_id

ilSystemStyleConfig::$default_style_id = "delos"
protected

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

Referenced by getDefaultStyleId(), and setDefaultStyleId().

◆ $default_template_path

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

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

Referenced by getDefaultTemplatePath(), and setDefaultTemplatePath().

◆ $default_variables_path

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

◆ $delos_path

ilSystemStyleConfig::$delos_path = "./templates/default/delos"
protected

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

Referenced by getDelosPath(), and setDelosPath().

◆ $rel_delos_path

ilSystemStyleConfig::$rel_delos_path = "../../../../templates/default/delos"
protected

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

Referenced by getRelDelosPath(), and setRelDelosPath().


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