11 use \ILIAS\Modules\OrgUnit\ARHelper\DIC;
35 private function initHelp()
39 $ilHelp = $DIC[
'ilHelp'];
43 $ilHelp->setScreenIdComponent(
'bibl');
49 $this->tabs()->clearTargets();
50 $this->tabs()->setBackTarget(
51 $this->lng()->txt(
"back"),
66 $form->setTitle($this->lng()->txt(
'detail_view'));
71 $this->tpl()->setPermanentLink(
73 $this->facade->iliasRefId(),
77 return $form->getHTML();
86 $attributes = $this->facade->attributeFactory()->getAttributesForEntry($this->entry);
87 $sorted = $this->facade->attributeFactory()->sortAttributes(
$attributes);
89 foreach ($sorted as $attribute) {
90 $translated = $this->facade->translationFactory()->translateAttribute($attribute);
92 $ci->setValue(self::prepareLatex($attribute->getValue()));
105 $settings = $this->facade->libraryFactory()->getAll();
106 foreach ($settings as $set) {
109 $ci->setHtml($presentation->getButton($this->facade, $this->entry));
133 $string = preg_replace(
'/\\$(.*)\\$/u',
'[tex]$1[/tex]', $string);
135 return $ilMathJax->insertLatexImages($string);
renderAttributes(ilPropertyFormGUI $form)
renderLibraries(ilPropertyFormGUI $form)
if(isset($_POST['submit'])) $form
if(array_key_exists('yes', $_REQUEST)) $attributes
This class represents a non editable value in a property form.
static getInstance()
Singleton: get instance.
static prepareLatex($string)
This feature has to be discussed by JF first.
__construct(\ilBiblEntry $entry, ilBiblFactoryFacade $facade)
ilBiblEntryPresentationGUI constructor.
Class ilBiblEntryDetailPresentationGUI.
Class ilBiblFactoryFacade.
Class ilBiblLibraryPresentationGUI.