ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMathJax Class Reference

Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it. More...

+ Collaboration diagram for ilMathJax:

Public Member Functions

 setZoomFactor (float $a_factor)
 
 init (string $a_purpose=self::PURPOSE_BROWSER)
 
 includeMathJax (?ilGlobalTemplateInterface $a_tpl=null)
 
 insertLatexImages (string $a_text, ?string $a_start='[tex]', ?string $a_end='[/tex]')
 

Static Public Member Functions

static getInstance ()
 

Data Fields

const PURPOSE_BROWSER = 'browser'
 
const PURPOSE_EXPORT = 'export'
 

Static Protected Attributes

static self $_instance
 

Detailed Description

Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it.

It has no function anymore. It will be removes once all calls replaced

Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 29 of file class.ilMathJax.php.

Member Function Documentation

◆ getInstance()

static ilMathJax::getInstance ( )
static
Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 39 of file class.ilMathJax.php.

39 : ilMathJax
40 {
41 return self::$_instance ??= new self();
42 }
Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it.

Referenced by ILIAS\components\Export\HTML\Util\exportCOPageFiles().

+ Here is the caller graph for this function:

◆ includeMathJax()

ilMathJax::includeMathJax ( ?ilGlobalTemplateInterface  $a_tpl = null)
Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 63 of file class.ilMathJax.php.

63 : ilMathJax
64 {
65 return $this;
66 }

◆ init()

ilMathJax::init ( string  $a_purpose = self::PURPOSE_BROWSER)
Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 55 of file class.ilMathJax.php.

55 : ilMathJax
56 {
57 return $this;
58 }

◆ insertLatexImages()

ilMathJax::insertLatexImages ( string  $a_text,
?string  $a_start = '[tex]',
?string  $a_end = '[/tex]' 
)
Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 71 of file class.ilMathJax.php.

71 : string
72 {
73 return $a_text;
74 }

◆ setZoomFactor()

ilMathJax::setZoomFactor ( float  $a_factor)
Deprecated:
  • use ILIAS\UI\Component\Legacy\LatexContent instead

Definition at line 47 of file class.ilMathJax.php.

47 : ilMathJax
48 {
49 return $this;
50 }

Field Documentation

◆ $_instance

self ilMathJax::$_instance
staticprotected

Definition at line 34 of file class.ilMathJax.php.

◆ PURPOSE_BROWSER

const ilMathJax::PURPOSE_BROWSER = 'browser'

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

◆ PURPOSE_EXPORT

const ilMathJax::PURPOSE_EXPORT = 'export'

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