ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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)
 

Protected Attributes

 $default_skin_id = "default"
 
 $default_style_id = "delos"
 
 $default_template_path = "./templates/default/template.xml"
 
 $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 210 of file class.ilSystemStyleConfig.php.

References $customizing_skin_path.

211  {
213  }
$customizing_skin_path
Customizing skin path to place folders for custom skins into.

◆ getDefaultFontsPath()

ilSystemStyleConfig::getDefaultFontsPath ( )
Returns
string

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

References $default_fonts_path.

◆ getDefaultImagesPath()

ilSystemStyleConfig::getDefaultImagesPath ( )
Returns
string

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

References $default_images_path.

◆ getDefaultSkinId()

ilSystemStyleConfig::getDefaultSkinId ( )
Returns
string

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

References $default_skin_id.

◆ getDefaultSoundsPath()

ilSystemStyleConfig::getDefaultSoundsPath ( )
Returns
string

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

References $default_sounds_path.

◆ getDefaultStyleId()

ilSystemStyleConfig::getDefaultStyleId ( )
Returns
string

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

References $default_style_id.

◆ getDefaultTemplatePath()

ilSystemStyleConfig::getDefaultTemplatePath ( )
Returns
string

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

References $default_template_path.

◆ getDefaultVariablesPath()

ilSystemStyleConfig::getDefaultVariablesPath ( )
Returns
string

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

References $default_variables_path.

◆ getDelosPath()

ilSystemStyleConfig::getDelosPath ( )
Returns
string

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

References $delos_path.

131  {
132  return $this->delos_path;
133  }

◆ setCustomizingSkinPath()

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

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

References $customizing_skin_path.

219  {
220  $this->customizing_skin_path = $customizing_skin_path;
221  }
$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 186 of file class.ilSystemStyleConfig.php.

References $default_fonts_path.

187  {
188  $this->default_fonts_path = $default_fonts_path;
189  }

◆ setDefaultImagesPath()

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

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

References $default_images_path.

171  {
172  $this->default_images_path = $default_images_path;
173  }

◆ setDefaultSkinId()

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

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

References $default_skin_id.

91  {
92  $this->default_skin_id = $default_skin_id;
93  }

◆ setDefaultSoundsPath()

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

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

References $default_sounds_path.

203  {
204  $this->default_sounds_path = $default_sounds_path;
205  }

◆ setDefaultStyleId()

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

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

References $default_style_id.

107  {
108  $this->default_style_id = $default_style_id;
109  }

◆ setDefaultTemplatePath()

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

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

References $default_template_path.

123  {
124  $this->default_template_path = $default_template_path;
125  }

◆ setDefaultVariablesPath()

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

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

References $default_variables_path.

155  {
156  $this->default_variables_path = $default_variables_path;
157  }

◆ setDelosPath()

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

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

References $delos_path.

139  {
140  $this->delos_path = $delos_path;
141  }

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 77 of file class.ilSystemStyleConfig.php.

Referenced by getCustomizingSkinPath(), and setCustomizingSkinPath().

◆ $default_fonts_path

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

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

Referenced by getDefaultFontsPath(), and setDefaultFontsPath().

◆ $default_images_path

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

Definition at line 56 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 70 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().


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