ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilBibliographicDetailsGUI Class Reference

Class ilBibliographicDetailsGUI The detailled view on each entry. More...

+ Collaboration diagram for ilBibliographicDetailsGUI:

Static Public Member Functions

static getInstance (ilObjBibliographic $bibl_obj, $entry_id)
 
static prepareLatex ($string)
 This feature has to be discussed by JF first. More...
 

Data Fields

 $bibl_obj
 
 $entry
 

Detailed Description

Class ilBibliographicDetailsGUI The detailled view on each entry.

@ilCtrl_Calls ilObjBibliographicDetailsGUI: ilBibliographicGUI

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

Member Function Documentation

◆ getInstance()

static ilBibliographicDetailsGUI::getInstance ( ilObjBibliographic  $bibl_obj,
  $entry_id 
)
static
Parameters
ilObjBibliographic$bibl_obj
$entry_id
Returns
ilBibliographicDetailsGUI

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

32 {
33 $obj = new self();
34 $obj->bibl_obj = $bibl_obj;
35 $obj->entry = ilBibliographicEntry::getInstance($obj->bibl_obj->getFiletype(), $entry_id);
36
37 return $obj;
38 }
static getInstance($file_type, $entry_id=null)

References $bibl_obj, and ilBibliographicEntry\getInstance().

Referenced by ilObjBibliographicGUI\showDetails().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ prepareLatex()

static ilBibliographicDetailsGUI::prepareLatex (   $string)
static

This feature has to be discussed by JF first.

Parameters
$string
Returns
string

Definition at line 126 of file class.ilBibliographicDetailsGUI.php.

127 {
128 return $string;
129 static $init;
130 $ilMathJax = ilMathJax::getInstance();
131 if (!$init) {
132 $ilMathJax->init();
133 $init = true;
134 }
135
136 // $string = preg_replace('/\\$\\\\‍(.*)\\$/u', '[tex]$1[/tex]', $string);
137 $string = preg_replace('/\\$(.*)\\$/u', '[tex]$1[/tex]', $string);
138
139 return $ilMathJax->insertLatexImages($string);
140 }
static getInstance()
Singleton: get instance.

References ilMathJax\getInstance().

Referenced by ilBibliographicRecordListTableGUI\fillRow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $bibl_obj

ilBibliographicDetailsGUI::$bibl_obj

Definition at line 18 of file class.ilBibliographicDetailsGUI.php.

Referenced by getInstance().

◆ $entry

ilBibliographicDetailsGUI::$entry

Definition at line 22 of file class.ilBibliographicDetailsGUI.php.


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