ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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:

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

Member Function Documentation

◆ getInstance()

static ilMathJax::getInstance ( )
static
Deprecated:

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

Referenced by ILIAS\Wiki\Export\WikiHtmlExport\buildExportFile(), ILIAS\components\Export\HTML\Util\exportCOPageFiles(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), ilPresentationTableGUI\getShortTextForTerm(), ilGlossaryTermGUI\output(), and ilPageObjectGUI\showPage().

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...
+ Here is the caller graph for this function:

◆ includeMathJax()

ilMathJax::includeMathJax ( ?ilGlobalTemplateInterface  $a_tpl = null)
Deprecated:

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

63  : ilMathJax
64  {
65  return $this;
66  }
Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it...

◆ init()

ilMathJax::init ( string  $a_purpose = self::PURPOSE_BROWSER)
Deprecated:

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

55  : ilMathJax
56  {
57  return $this;
58  }
Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it...

◆ insertLatexImages()

ilMathJax::insertLatexImages ( string  $a_text,
?string  $a_start = '[tex]',
?string  $a_end = '[/tex]' 
)
Deprecated:

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

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

◆ setZoomFactor()

ilMathJax::setZoomFactor ( float  $a_factor)
Deprecated:

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

47  : ilMathJax
48  {
49  return $this;
50  }
Old ilMathJax class This class is kept temporary to prevent PHP errors in the components calling it...

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: