ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStyleSetupConfig Class Reference
+ Inheritance diagram for ilStyleSetupConfig:
+ Collaboration diagram for ilStyleSetupConfig:

Public Member Functions

 __construct (bool $manage_system_styles, ?string $path_to_lessc)
 
 getManageSystemStyles ()
 
 getPathToLessc ()
 

Protected Member Functions

 toLinuxConvention (?string $p)
 

Protected Attributes

 $manage_system_styles
 
 $path_to_lessc
 

Detailed Description

Definition at line 8 of file class.ilStyleSetupConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilStyleSetupConfig::__construct ( bool  $manage_system_styles,
?string  $path_to_lessc 
)

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

References $manage_system_styles, and toLinuxConvention().

23  {
24  $this->manage_system_styles = $manage_system_styles;
25  $this->path_to_lessc = $this->toLinuxConvention($path_to_lessc);
26  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getManageSystemStyles()

ilStyleSetupConfig::getManageSystemStyles ( )

Definition at line 36 of file class.ilStyleSetupConfig.php.

References $manage_system_styles.

36  : bool
37  {
39  }

◆ getPathToLessc()

ilStyleSetupConfig::getPathToLessc ( )

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

References $path_to_lessc.

41  : ?string
42  {
43  return $this->path_to_lessc;
44  }

◆ toLinuxConvention()

ilStyleSetupConfig::toLinuxConvention ( ?string  $p)
protected

Definition at line 28 of file class.ilStyleSetupConfig.php.

Referenced by __construct().

28  : ?string
29  {
30  if (!$p) {
31  return null;
32  }
33  return preg_replace("/\\\\/", "/", $p);
34  }
+ Here is the caller graph for this function:

Field Documentation

◆ $manage_system_styles

ilStyleSetupConfig::$manage_system_styles
protected

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

Referenced by __construct(), and getManageSystemStyles().

◆ $path_to_lessc

ilStyleSetupConfig::$path_to_lessc
protected

Definition at line 18 of file class.ilStyleSetupConfig.php.

Referenced by getPathToLessc().


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