ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilMathJaxSetupConfig Class Reference
+ Inheritance diagram for ilMathJaxSetupConfig:
+ Collaboration diagram for ilMathJaxSetupConfig:

Public Member Functions

 __construct (?string $path_to_latex_cgi)
 
 getPathToLatexCGI ()
 

Protected Member Functions

 toLinuxConvention (?string $p)
 

Protected Attributes

 $path_to_latex_cgi
 

Detailed Description

Definition at line 7 of file class.ilMathJaxSetupConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilMathJaxSetupConfig::__construct ( ?string  $path_to_latex_cgi)

Definition at line 14 of file class.ilMathJaxSetupConfig.php.

References toLinuxConvention().

16  {
17  $this->path_to_latex_cgi = $this->toLinuxConvention($path_to_latex_cgi);
18  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToLatexCGI()

ilMathJaxSetupConfig::getPathToLatexCGI ( )

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

References $path_to_latex_cgi.

28  : ?string
29  {
31  }

◆ toLinuxConvention()

ilMathJaxSetupConfig::toLinuxConvention ( ?string  $p)
protected

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

Referenced by __construct().

20  : ?string
21  {
22  if (!$p) {
23  return null;
24  }
25  return preg_replace("/\\\\/", "/", $p);
26  }
+ Here is the caller graph for this function:

Field Documentation

◆ $path_to_latex_cgi

ilMathJaxSetupConfig::$path_to_latex_cgi
protected

Definition at line 12 of file class.ilMathJaxSetupConfig.php.

Referenced by getPathToLatexCGI().


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