ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (array $data) | |
Create the config fron a data array. More... | |
getConfig () | |
Get the MathJaxConfig object which is created from the data in config.json. More... | |
getDataFromConfig (ilMathJaxConfig $config) | |
Get a data array from a config. More... | |
isApplicableTo (ilMathJaxConfig $config) | |
Check if the setup config can be applied to an existing stored config Only the values that are actually defined in the config.json will be applied The setup config is applicable if at least one setting in config.json is defined and differs fron the stored config. More... | |
applyTo (ilMathJaxConfig $config) | |
Apply the setup config to an existing stored config Only the values that are actually defined in the config.json will be applied. More... | |
Protected Attributes | |
array | $data = [] |
ilMathJaxConfig | $config |
Definition at line 23 of file class.ilMathJaxSetupConfig.php.
ilMathJaxSetupConfig::__construct | ( | array | $data | ) |
Create the config fron a data array.
Definition at line 34 of file class.ilMathJaxSetupConfig.php.
References $data.
ilMathJaxSetupConfig::applyTo | ( | ilMathJaxConfig | $config | ) |
Apply the setup config to an existing stored config Only the values that are actually defined in the config.json will be applied.
Definition at line 103 of file class.ilMathJaxSetupConfig.php.
References $config, ilMathJaxConfig\withClientEnabled(), ilMathJaxConfig\withClientLimiter(), ilMathJaxConfig\withClientPolyfillUrl(), ilMathJaxConfig\withClientScriptUrl(), ilMathJaxConfig\withServerAddress(), ilMathJaxConfig\withServerEnabled(), ilMathJaxConfig\withServerForBrowser(), ilMathJaxConfig\withServerForExport(), ilMathJaxConfig\withServerForPdf(), and ilMathJaxConfig\withServerTimeout().
ilMathJaxSetupConfig::getConfig | ( | ) |
Get the MathJaxConfig object which is created from the data in config.json.
Definition at line 56 of file class.ilMathJaxSetupConfig.php.
References $config.
ilMathJaxSetupConfig::getDataFromConfig | ( | ilMathJaxConfig | $config | ) |
Get a data array from a config.
Definition at line 64 of file class.ilMathJaxSetupConfig.php.
References ilMathJaxConfig\getClientLimiter(), ilMathJaxConfig\getClientScriptUrl(), ilMathJaxConfig\getClintPolyfillUrl(), ilMathJaxConfig\getServerAddress(), ilMathJaxConfig\getServerTimeout(), ilMathJaxConfig\isClientEnabled(), ilMathJaxConfig\isServerEnabled(), ilMathJaxConfig\isServerForBrowser(), ilMathJaxConfig\isServerForExport(), and ilMathJaxConfig\isServerForPdf().
ilMathJaxSetupConfig::isApplicableTo | ( | ilMathJaxConfig | $config | ) |
Check if the setup config can be applied to an existing stored config Only the values that are actually defined in the config.json will be applied The setup config is applicable if at least one setting in config.json is defined and differs fron the stored config.
Definition at line 85 of file class.ilMathJaxSetupConfig.php.
References ilMathJaxConfig\getClientLimiter(), ilMathJaxConfig\getClientScriptUrl(), ilMathJaxConfig\getClintPolyfillUrl(), ilMathJaxConfig\getServerAddress(), ilMathJaxConfig\isClientEnabled(), ilMathJaxConfig\isServerEnabled(), ilMathJaxConfig\isServerForBrowser(), ilMathJaxConfig\isServerForExport(), and ilMathJaxConfig\isServerForPdf().
|
protected |
Definition at line 29 of file class.ilMathJaxSetupConfig.php.
Referenced by applyTo(), and getConfig().
|
protected |
Definition at line 26 of file class.ilMathJaxSetupConfig.php.
Referenced by __construct().