Class ilBibliographicDetailsGUI The detailled view on each entry.
More...
Class ilBibliographicDetailsGUI The detailled view on each entry.
Definition at line 9 of file class.ilBibliographicDetailsGUI.php.
◆ showDetails()
- Parameters
-
- Returns
- void
Definition at line 16 of file class.ilBibliographicDetailsGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilBibliographicEntry\getAttributes(), ilObjBibliographic\getFiletype(), and ilObject2\getRefId().
20 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
24 $ilTabs->clearTargets();
25 $ilTabs->setBackTarget(
"back", $ilCtrl->getLinkTarget($this,
'showContent'));
27 $form->setTitle($lng->txt(
'detail_view'));
34 foreach($attributes as $key => $attribute)
37 if($lng->exists($key))
39 $strDescTranslated = $lng->txt($key);
44 $arrKey = explode(
"_",$key);
45 $strDescTranslated = $lng->txt($arrKey[0].
"_default_".$arrKey[2]);
47 unset($attributes[$key]);
48 $attributes[$strDescTranslated] = $attribute;
52 ksort($attributes, SORT_STRING);
55 foreach($attributes as $key => $attribute)
58 $ci->setHtml($attribute);
63 $tpl->setContent($form->getHTML());
66 $tpl->setPermanentLink(
"bibl", $bibl_obj->
getRefId(),
"_".$_GET[
'entryId']);
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
Class ilObjBibliographic.
The documentation for this class was generated from the following file: