19declare(strict_types=1);
43 (
bool) $this->
settings->get(
'enable'),
44 (
string) $this->settings->get(
'path_to_polyfill'),
45 (
string) $this->settings->get(
'path_to_mathjax'),
46 (
int) $this->settings->get(
'limiter'),
47 (
bool) $this->settings->get(
'enable_server'),
48 (
string) $this->settings->get(
'server_address'),
49 (
int) $this->settings->get(
'server_timeout'),
50 (
bool) $this->settings->get(
'server_for_browser'),
51 (
bool) $this->settings->get(
'server_for_export'),
52 (
bool) $this->settings->get(
'server_for_pdf')
Repository for storing and loading the MathJax configuration.
getConfig()
Get the MathJax Configuration.
updateConfig(ilMathJaxConfig $config)
Update the MathNax Configuration.
__construct(ilSetting $settings)
Constructor.
Global Mathjax configuration.
getClientLimiter()
Type of enclosing limiters for wich the embedded client-side Mathjax is configured.
getServerTimeout()
timeout (s) to wait for the result of the rendering server
isServerForBrowser()
Should the server-side rendingeing be used for browser output.
isServerForPdf()
Should the server-side rendingeing be used for PDF generation.
getServerAddress()
Url of Mathjax server.
isServerEnabled()
Is a server side rendering engine configured and enabled.
isServerForExport()
Should the server-side rendingeing be used for HTML exports.
getClientScriptUrl()
Url of Mathjax script to be embedded with script tag on the page.
getClintPolyfillUrl()
Url of a javascript polyfill (needed by MathJax 3)
isClientEnabled()
Should latex code be rendered in the browser.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...