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

Public Member Functions

 __construct (\ilMathJaxSetupConfig $config)
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Setup\Environment $environment)
 

Protected Attributes

ilMathJaxSetupConfig $config
 

Detailed Description

Definition at line 22 of file class.ilMathJaxConfigStoredObjective.php.

Constructor & Destructor Documentation

◆ __construct()

ilMathJaxConfigStoredObjective::__construct ( \ilMathJaxSetupConfig  $config)

Definition at line 26 of file class.ilMathJaxConfigStoredObjective.php.

References $config.

27  {
28  $this->config = $config;
29  }

Member Function Documentation

◆ getHash()

ilMathJaxConfigStoredObjective::getHash ( )

Definition at line 31 of file class.ilMathJaxConfigStoredObjective.php.

31  : string
32  {
33  return hash("sha256", self::class);
34  }

◆ getLabel()

ilMathJaxConfigStoredObjective::getLabel ( )

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

36  : string
37  {
38  return "Store configuration of Services/MathJax";
39  }

◆ getPreconditions()

ilMathJaxConfigStoredObjective::getPreconditions ( Setup\Environment  $environment)

Definition at line 46 of file class.ilMathJaxConfigStoredObjective.php.

References $factory, and ilMathJaxConfigSettingsRepository\updateConfig().

46  : array
47  {
48  return [
49  new \ilSettingsFactoryExistsObjective()
50  ];
51  }
+ Here is the call graph for this function:

◆ isNotable()

ilMathJaxConfigStoredObjective::isNotable ( )

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

41  : bool
42  {
43  return true;
44  }

Field Documentation

◆ $config

ilMathJaxSetupConfig ilMathJaxConfigStoredObjective::$config
protected

Definition at line 24 of file class.ilMathJaxConfigStoredObjective.php.

Referenced by __construct().


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