ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.

ilObjBibliographicDetailsGUI: ilBibliographicGUI

Definition at line 15 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 33 of file class.ilBibliographicDetailsGUI.php.

References $_GET, $bibl_obj, $DIC, $ilCtrl, $lng, $tpl, ilBibliographicSetting\getAll(), ilBibliographicEntry\getInstance(), ilRis\isStandardField(), ilBibTex\isStandardField(), ilObjBibliographicGUI\P_ENTRY_ID, and ilCustomInputGUI\setHtml().

Referenced by ilObjBibliographicGUI\showDetails().

33  {
34  $obj = new self();
35  $obj->bibl_obj = $bibl_obj;
36  $obj->entry = ilBibliographicEntry::getInstance($obj->bibl_obj->getFiletype(), $entry_id);
37 
38  return $obj;
39  }
static getInstance($file_type, $entry_id=null)
+ 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 124 of file class.ilBibliographicDetailsGUI.php.

References ilMathJax\getInstance().

Referenced by ilDataBibliographicRecordListTableGUI\fillRow().

124  {
125  return $string;
126  static $init;
127  require_once('./Services/MathJax/classes/class.ilMathJax.php');
128  $ilMathJax = ilMathJax::getInstance();
129  if (!$init) {
130  require_once('./Services/MathJax/classes/class.ilMathJax.php');
131  $ilMathJax->init();
132  $init = true;
133  }
134 
135  // $string = preg_replace('/\\$\\\\(.*)\\$/u', '[tex]$1[/tex]', $string);
136  $string = preg_replace('/\\$(.*)\\$/u', '[tex]$1[/tex]', $string);
137 
138  return $ilMathJax->insertLatexImages($string);
139  }
static getInstance()
Singleton: get instance.
+ 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 20 of file class.ilBibliographicDetailsGUI.php.

Referenced by getInstance().

◆ $entry

ilBibliographicDetailsGUI::$entry

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


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