19 require_once(
"./Services/Object/classes/class.ilObjectGUI.php");
20 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLM.php");
21 require_once(
"./Services/Table/classes/class.ilTableGUI.php");
22 require_once(
"./Services/FileSystem/classes/class.ilFileSystemGUI.php");
38 $this->ctrl->saveParameter($this, array(
"ref_id"));
41 $lng->loadLanguageModule(
"content");
43 parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference,
false);
45 $this->output_prepared = $a_prepare_output;
54 global
$ilUser, $ilLocator, $ilTabs;
56 $next_class = $this->ctrl->getNextClass($this);
57 $cmd = $this->ctrl->getCmd();
59 if (strtolower(
$_GET[
"baseClass"]) ==
"iladministrationgui" ||
66 if (!in_array(
$cmd, array(
"",
"framset")) || $next_class !=
"")
77 if(IS_PAYMENT_ENABLED)
79 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
82 $this->tpl->getStandardTemplate();
84 include_once
'Services/Payment/classes/class.ilShopPurchaseGUI.php';
86 $ret = $this->ctrl->forwardCommand($pp);
94 case 'ilobjectmetadatagui':
96 $ilTabs->activateTab(
'id_meta_data');
97 include_once
"Services/Object/classes/class.ilObjectMetaDataGUI.php";
99 $this->ctrl->forwardCommand($md_gui);
102 case "ilfilesystemgui":
104 $ilTabs->activateTab(
'id_list_files');
107 $fs_gui->setUseUploadDirectory(
true);
108 $fs_gui->setTableId(
"htlmfs".$this->object->getId());
109 if ($this->object->getStartFile() !=
"")
111 $fs_gui->labelFile($this->object->getStartFile(),
112 $this->lng->txt(
"cont_startfile"));
114 $fs_gui->addCommand($this,
"setStartFile", $this->lng->txt(
"cont_set_start_file"));
116 $this->ctrl->forwardCommand($fs_gui);
119 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php");
124 $pcommand = $fs_gui->getLastPerformedCommand();
125 if (is_array($pcommand))
127 $valid = array(
"index.htm",
"index.html",
"start.htm",
"start.html");
128 if($pcommand[
"cmd"] ==
"create_file")
130 $file = strtolower(basename($pcommand[
"name"]));
133 $this->
object->setStartFile($pcommand[
"name"]);
134 $do_update = $pcommand[
"name"];
137 else if($pcommand[
"cmd"] ==
"unzip_file")
139 $zip_file = strtolower(basename($pcommand[
"name"]));
140 $suffix = strrpos($zip_file,
".");
143 $zip_file = substr($zip_file, 0, $suffix);
145 foreach($pcommand[
"added"] as
$file)
148 if(stristr($file,
".htm"))
150 $chk_file = strtolower(basename($file));
151 $suffix = strrpos($chk_file,
".");
154 $chk_file = substr($chk_file, 0, $suffix);
157 if(in_array(basename($file),
$valid) ||
158 ($zip_file && $chk_file && $chk_file == $zip_file))
160 $this->
object->setStartFile($file);
170 ilUtil::sendInfo(sprintf($this->lng->txt(
"cont_start_file_set_to"), $do_update),
true);
172 $this->
object->update();
173 $this->ctrl->redirectByClass(
"ilfilesystemgui",
"listFiles");
178 case "ilinfoscreengui":
182 case "illearningprogressgui":
183 $ilTabs->activateTab(
'id_learning_progress');
184 include_once
'./Services/Tracking/classes/class.ilLearningProgressGUI.php';
186 $this->object->getRefId(),
187 $_GET[
'user_id'] ?
$_GET[
'user_id'] : $ilUser->getId());
188 $this->ctrl->forwardCommand($new_gui);
191 case 'ilpermissiongui':
192 $ilTabs->activateTab(
'id_permissions');
193 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
195 $ret =& $this->ctrl->forwardCommand($perm_gui);
199 $ilTabs->activateTab(
'id_license');
200 include_once(
"./Services/License/classes/class.ilLicenseGUI.php");
202 $ret =& $this->ctrl->forwardCommand($license_gui);
206 $ilTabs->activateTab(
"export");
207 include_once(
"./Services/Export/classes/class.ilExportGUI.php");
209 $exp_gui->addFormat(
"xml");
210 $exp_gui->addFormat(
"html",
"", $this,
"exportHTML");
211 $ret = $this->ctrl->forwardCommand($exp_gui);
215 case "ilcommonactiondispatchergui":
216 include_once(
"Services/Object/classes/class.ilCommonActionDispatcherGUI.php");
218 $this->ctrl->forwardCommand($gui);
222 $cmd = $this->ctrl->getCmd(
"frameset");
223 if (strtolower(
$_GET[
"baseClass"]) ==
"iladministrationgui" ||
237 $forms = array(self::CFORM_NEW => $this->
initCreateForm($a_new_type),
252 $ilCtrl->redirectByClass(
"ilrepositorygui",
"frameset");
262 global $rbacsystem,
$tree,
$tpl, $ilTabs;
264 $ilTabs->activateTab(
"id_settings");
268 $tpl->setContent($this->form->getHTML());
278 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
285 $ti->setRequired(
true);
286 $this->form->addItem($ti);
292 $this->form->addItem($ta);
298 $this->form->addItem($cb);
301 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php");
305 if ($startfile !=
"")
307 $ne->
setValue(basename($startfile));
311 $ne->setValue(basename($this->lng->txt(
"no_start_file")));
313 $this->form->addItem($ne);
315 include_once(
"Services/License/classes/class.ilLicenseAccess.php");
319 $lic->
setInfo($lng->txt(
"cont_license_info"));
320 $this->form->addItem($lic);
322 if(!$ilAccess->checkAccess(
'edit_permission',
'', $this->ref_id))
324 $lic->setDisabled(
true);
329 $bib->
setInfo($lng->txt(
"cont_biblio_info"));
330 $this->form->addItem($bib);
332 $this->form->addCommandButton(
"saveProperties", $lng->txt(
"save"));
333 $this->form->addCommandButton(
"toFilesystem", $lng->txt(
"cont_set_start_file"));
335 $this->form->setTitle($lng->txt(
"cont_lm_properties"));
336 $this->form->setFormAction($ilCtrl->getFormAction($this,
"saveProperties"));
344 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php");
348 $values[
"cobj_online"] = $this->
object->getOnline();
349 if ($startfile !=
"")
351 $startfile = basename($startfile);
355 $startfile = $this->lng->txt(
"no_start_file");
358 $values[
"cobj_online"] = $this->
object->getOnline();
359 $values[
"startfile"] = $startfile;
360 $values[
"title"] = $this->
object->getTitle();
361 $values[
"desc"] = $this->
object->getDescription();
362 $values[
"lic"] = $this->
object->getShowLicense();
363 $values[
"bib"] = $this->
object->getShowBibliographicalData();
365 $this->form->setValuesByArray($values);
378 $ilCtrl->redirectByClass(
"ilfilesystemgui",
"listFiles");
386 global
$tpl, $ilAccess, $ilTabs;
389 if ($this->form->checkInput())
391 $this->
object->setTitle($this->form->getInput(
"title"));
392 $this->
object->setDescription($this->form->getInput(
"desc"));
394 $this->
object->setShowBibliographicalData($this->form->getInput(
"bib"));
396 $lic = $this->form->getItemByPostVar(
"lic");
397 if($lic && !$lic->getDisabled())
399 $this->
object->setShowLicense($this->form->getInput(
"lic"));
402 $this->
object->update();
404 $this->ctrl->redirect($this,
"properties");
407 $ilTabs->activateTab(
"id_settings");
408 $this->form->setValuesByPost();
409 $tpl->setContent($this->form->getHtml());
421 if (!$rbacsystem->checkAccess(
"visible,write",$this->object->getRefId()))
423 $this->
ilias->raiseError($this->lng->txt(
"permission_denied"),$this->
ilias->error_obj->MESSAGE);
452 if(!$newObj->getStartFile())
456 include_once
"Services/Utilities/classes/class.ilFileUtils.php";
458 if(is_array($files[
"file"]))
461 if(stristr($newObj->getTitle(),
".zip"))
463 $zip_file = strtolower($newObj->getTitle());
464 $suffix = strrpos($zip_file,
".");
467 $zip_file = substr($zip_file, 0, $suffix);
470 $valid = array(
"index.htm",
"index.html",
"start.htm",
"start.html");
471 foreach($files[
"file"] as $idx =>
$file)
474 if(stristr(
$file,
".htm"))
476 $chk_file = strtolower(
$file);
477 $suffix = strrpos($chk_file,
".");
480 $chk_file = substr($chk_file, 0, $suffix);
484 ($chk_file && $zip_file && $chk_file == $zip_file))
486 $newObj->setStartFile(str_replace($newObj->getDataDirectory().
"/",
"", $files[
"path"][$idx]).
$file);
496 ilUtil::redirect(
"ilias.php?baseClass=ilHTLMEditorGUI&ref_id=".$newObj->getRefId());
513 $this->
object->setStartFile($a_file);
514 $this->
object->update();
515 $this->ctrl->redirectByClass(
"ilfilesystemgui",
"listFiles");
523 $this->
setFormAction(
"permSave",
"fblm_edit.php?cmd=permSave&ref_id=".
$_GET[
"ref_id"].
524 "&obj_id=".
$_GET[
"obj_id"]);
525 $this->
setFormAction(
"addRole",
"fblm_edit.php?ref_id=".$_GET[
"ref_id"].
526 "&obj_id=".$_GET[
"obj_id"].
"&cmd=addRole");
537 $ilTabs->activateTab(
"id_bib_data");
539 include_once
"./Modules/LearningModule/classes/class.ilBibItemGUI.php";
541 $bib_gui->setObject($this->
object);
542 $bibItemIndex =
$_POST[
"bibItemIndex"] ?
$_POST[
"bibItemIndex"] :
$_GET[
"bibItemIndex"];
544 if ($bibItemIndex < 0)
548 $bibItemIndex = $bib_gui->save($bibItemIndex);
552 $a_target =
"adm_object.php?ref_id=" . $this->
object->getRefId();
555 $bib_gui->edit(
"ADM_CONTENT",
"adm_content", $a_target, $bibItemIndex);
577 $ilTabs->activateTab(
"id_bib_data");
579 include_once
"./Modules/LearningModule/classes/class.ilBibItemGUI.php";
581 $bib_gui->setObject($this->
object);
582 $bibItemIndex =
$_POST[
"bibItemIndex"] ?
$_POST[
"bibItemIndex"] :
$_GET[
"bibItemIndex"];
584 if ($bibItemIndex < 0)
590 $a_target =
"adm_object.php?ref_id=" . $this->
object->getRefId();
593 $bib_gui->edit(
"ADM_CONTENT",
"adm_content", $a_target, $bibItemIndex);
615 $ilTabs->activateTab(
"id_bib_data");
617 include_once
"./Modules/LearningModule/classes/class.ilBibItemGUI.php";
619 $bib_gui->setObject($this->
object);
620 $bibItemIndex =
$_POST[
"bibItemIndex"] ?
$_POST[
"bibItemIndex"] :
$_GET[
"bibItemIndex"];
621 $bib_gui->bib_obj->delete(
$_GET[
"bibItemName"],
$_GET[
"bibItemPath"], $bibItemIndex);
622 if (strpos($bibItemIndex,
",") > 0)
624 $bibItemIndex = substr($bibItemIndex, 0, strpos($bibItemIndex,
","));
628 $a_target =
"adm_object.php?ref_id=" . $this->
object->getRefId();
631 $bib_gui->edit(
"ADM_CONTENT",
"adm_content", $a_target, max(0, $bibItemIndex - 1));
653 $ilTabs->activateTab(
"id_bib_data");
655 $bibItemName =
$_POST[
"bibItemName"] ?
$_POST[
"bibItemName"] :
$_GET[
"bibItemName"];
656 $bibItemIndex =
$_POST[
"bibItemIndex"] ?
$_POST[
"bibItemIndex"] :
$_GET[
"bibItemIndex"];
657 if ($bibItemName ==
"BibItem")
659 include_once
"./Modules/LearningModule/classes/class.ilBibItem.php";
661 $bib_item->setId($this->object->getId());
662 $bib_item->setType($this->object->getType());
666 include_once
"./Modules/LearningModule/classes/class.ilBibItemGUI.php";
668 $bib_gui->setObject($this->
object);
669 if ($bibItemIndex ==
"")
671 $bibItemPath =
$_POST[
"bibItemPath"] ?
$_POST[
"bibItemPath"] :
$_GET[
"bibItemPath"];
674 if ($bibItemName !=
"")
676 $bib_gui->bib_obj->add($bibItemName, $bibItemPath, $bibItemIndex);
677 $data = $bib_gui->bib_obj->getElement(
"BibItem");
678 $bibItemIndex = (count(
$data) - 1);
686 $a_target =
"adm_object.php?ref_id=" . $this->
object->getRefId();
689 $bib_gui->edit(
"ADM_CONTENT",
"adm_content", $a_target, $bibItemIndex);
711 $ilCtrl->setCmdClass(
"ilfilesystemgui");
712 $ilCtrl->setCmd(
"listFiles");
723 $this->tpl->getStandardTemplate();
731 include_once
"Services/License/classes/class.ilLicense.php";
733 $this->
object->getRefId());
736 if ($ilUser->getId() != ANONYMOUS_USER_ID)
738 include_once
"Services/Tracking/classes/class.ilLearningProgress.php";
740 $this->
object->getRefId(),
"htlm");
743 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php");
744 require_once(
'./Services/WebAccessChecker/classes/class.ilWACSignedPath.php');
748 if ($startfile !=
"")
762 $this->ctrl->setCmd(
"showSummary");
763 $this->ctrl->setCmdClass(
"ilinfoscreengui");
780 global $ilToolbar, $ilAccess, $ilTabs;
782 $ilTabs->activateTab(
'id_info');
784 $this->lng->loadLanguageModule(
"meta");
785 include_once(
"./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
788 $info->enablePrivateNotes();
789 $info->enableLearningProgress();
792 if ($ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]))
794 $info->enableNewsEditing();
797 $enable_internal_rss = $news_set->get(
"enable_rss_for_internal");
798 if ($enable_internal_rss)
800 $info->setBlockProperty(
"news",
"settings",
true);
805 if ($ilAccess->checkAccess(
"read",
"",
$_GET[
"ref_id"]))
808 include_once
"Services/UIComponent/Button/classes/class.ilLinkButton.php";
810 $button->setCaption(
"view");
811 $button->setPrimary(
true);
812 $button->setUrl(
"ilias.php?baseClass=ilHTLMPresentationGUI&ref_id=".$this->object->getRefID());
813 $button->setTarget(
"ilContObj".$this->object->getId());
814 $ilToolbar->addButtonInstance($button);
818 $info->addMetaDataSections($this->object->getId(),0, $this->
object->getType());
821 $this->ctrl->forwardCommand(
$info);
834 $this->tpl->setTitle($this->object->getTitle());
844 $ilHelp->setScreenIdComponent(
"htlm");
846 if($ilAccess->checkAccess(
'write',
'', $this->ref_id))
848 $ilTabs->addTab(
"id_list_files",
849 $lng->txt(
"cont_list_files"),
850 $this->ctrl->getLinkTargetByClass(
"ilfilesystemgui",
"listFiles"));
853 if($ilAccess->checkAccess(
'visible',
'', $this->ref_id))
855 $ilTabs->addTab(
"id_info",
856 $lng->txt(
"info_short"),
857 $this->ctrl->getLinkTargetByClass(array(
"ilobjfilebasedlmgui",
"ilinfoscreengui"),
"showSummary"));
860 if($ilAccess->checkAccess(
'write',
'', $this->ref_id))
862 $ilTabs->addTab(
"id_settings",
863 $lng->txt(
"settings"),
864 $this->ctrl->getLinkTarget($this,
"properties"));
867 include_once
'./Services/Tracking/classes/class.ilLearningProgressAccess.php';
870 $ilTabs->addTab(
"id_learning_progress",
871 $lng->txt(
"learning_progress"),
872 $this->ctrl->getLinkTargetByClass(array(
'ilobjfilebasedlmgui',
'illearningprogressgui'),
''));
875 include_once(
"Services/License/classes/class.ilLicenseAccess.php");
876 if ($ilAccess->checkAccess(
'edit_permission',
'', $this->ref_id) &&
878 $this->
object->getShowLicense())
880 $ilTabs->addTab(
"id_license",
881 $lng->txt(
"license"),
882 $this->ctrl->getLinkTargetByClass(
'illicensegui',
''));
885 if($ilAccess->checkAccess(
'write',
'', $this->ref_id))
887 include_once
"Services/Object/classes/class.ilObjectMetaDataGUI.php";
889 $mdtab = $mdgui->getTab();
892 $ilTabs->addTab(
"id_meta_data",
893 $lng->txt(
"meta_data"),
897 if($this->object->getShowBibliographicalData())
899 $ilTabs->addTab(
"id_bib_data",
900 $lng->txt(
"bib_data"),
901 $this->ctrl->getLinkTarget($this,
"editBibItem"));
907 if ($ilAccess->checkAccess(
"write",
"", $this->object->getRefId()))
909 $ilTabs->addTab(
"export",
911 $this->ctrl->getLinkTargetByClass(
"ilexportgui",
""));
914 if ($ilAccess->checkAccess(
'edit_permission',
'', $this->object->getRefId()))
916 $ilTabs->addTab(
"id_permissions",
917 $lng->txt(
"perm_settings"),
918 $this->ctrl->getLinkTargetByClass(array(get_class($this),
'ilpermissiongui'),
"perm"));
921 require_once(
"./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php");
924 if ($startfile !=
"")
926 $ilTabs->addNonTabbedLink(
"presentation_view",
927 $this->lng->txt(
"glo_presentation_view"),
928 "ilias.php?baseClass=ilHTLMPresentationGUI&ref_id=".$this->object->getRefID(),
940 public static function _goto($a_target)
944 if ($ilAccess->checkAccess(
"read",
"", $a_target) ||
945 $ilAccess->checkAccess(
"visible",
"", $a_target))
949 else if ($ilAccess->checkAccess(
"read",
"", ROOT_FOLDER_ID))
956 $ilErr->raiseError($lng->txt(
"msg_no_perm_read_lm"), $ilErr->FATAL);
963 if (is_object($this->
object))
965 $ilLocator->addItem($this->object->getTitle(),
966 $this->ctrl->getLinkTargetByClass(
"ilinfoscreengui",
"showSummary"),
"",
$_GET[
"ref_id"]);
981 return parent::importFileObject();
1002 $ilErr->raiseError($this->lng->txt(
"no_create_permission"));
1009 $newObj->setDescription(
"");
1011 $newObj->populateByDirectoy($a_dir,
$filename);
1030 $inst_id = IL_INST_ID;
1032 include_once(
"./Services/Export/classes/class.ilExport.php");
1035 $this->
object->getType());
1037 $this->
object->getType());
1039 $subdir = $this->
object->getType().
"_".$this->
object->getId();
1042 $target_dir = $export_dir.
"/".$subdir;
1047 $source_dir = $this->
object->getDataDirectory();
1053 $zip_file = $export_dir.
"/".$date.
"__".IL_INST_ID.
"__".
1054 $this->
object->getType().
"_".$this->
object->getId().
".zip";
importFileObject($parent_id=null)
Import file.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
afterSave($newObj)
save object public
update()
update properties
outputInfoScreen($a_standard_locator=true)
info screen
getTemplate()
output main header (title and locator)
setValue($a_value)
Set Value.
exportHTML()
create html package
activateLabels($a_act, $a_label_header)
activate file labels
static rCopy($a_sdir, $a_tdir, $preserveTimeAttributes=false)
Copies content of a directory $a_sdir recursively to a directory $a_tdir.
const TITLE_LENGTH
max length of object title
static signFolderOfStartFile($start_file_path, ilWACCookieInterface $ilWACCookieInterface=null)
cancelCreationObject($in_rep=false)
cancel action and go back to previous page public
_determineStartUrl($a_id)
check wether learning module is online
addBibItem()
add bib item (module call)
static _isEnabled()
Check, if licencing is enabled This check is called from the ilAccessHandler class.
edit()
edit properties of object (module form)
File Based Learning Module (HTML) object.
static _requiresPurchaseToAccess($a_ref_id, $a_purchasetype='')
this function should be used by all buyable repository objects !!
initCreationForms($a_new_type)
_createExportDirectory($a_obj_id, $a_export_type="xml", $a_obj_type="")
Create export directory.
static _gotoRepositoryRoot($a_raise_error=false)
Goto repository root.
getSettingsFormValues()
Get current values for settings from.
setFormAction($a_cmd, $a_formaction)
set specific form action for command
static _tracProgress($a_user_id, $a_obj_id, $a_ref_id, $a_obj_type='')
cancelObject($in_rep=false)
cancel action and go back to previous page public
static _lookupTitle($a_id)
lookup object title
editObject()
edit properties of object (admin form)
saveProperties()
Save properties form.
toFilesystem()
Set start file.
executeCommand()
execute command
initSettingsForm()
Init settings form.
static _goto($a_target)
redirect script
deleteBibItemObject($a_target="")
delete bib item (admin call)
showInfoScreen()
info screen call from inside learning module
infoScreen()
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually...
saveBibItem()
save bib item (module call)
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
Export User Interface Class.
static checkAccess($a_ref_id, $a_allow_only_read=true)
check access to learning progress
initImportForm($a_new_type)
Init object import form.
ilObjFileBasedLMGUI($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
Constructor.
static _gotoRepositoryNode($a_ref_id, $a_cmd="frameset")
Goto repository root.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Class ilObjectGUI Basic methods of all Output classes.
static _lookupObjId($a_id)
setSize($a_size)
Set Size.
This class represents a text property in a property form.
setCols($a_cols)
Set Cols.
redirection script todo: (a better solution should control the processing via a xml file) ...
frameset()
Frameset -> Output list of files.
initCreateForm($a_new_type)
Init object creation form.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
manifest.xml file not found-exception for import
static zip($a_dir, $a_file, $compress_content=false)
zips given directory/file into given zip.file
prepareOutput()
prepare output
deleteBibItem()
delete bib item (module call)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static makeDir($a_dir)
creates a new directory and inherits all filesystem permissions of the parent directory You may pass ...
editBibItemObject($a_target="")
edit bib items (admin call)
getTmpDir()
Get temporary directory.
addBibItemObject($a_target="")
add bib item (admin call)
createFromDirectory($a_dir)
Create new object from a html zip file.
saveBibItemObject($a_target="")
save bib item (admin call)
This class represents a non editable value in a property form.
const LP_CONTEXT_REPOSITORY
recursive_dirscan($dir, &$arr)
Recursively scans a given directory and writes path and filename into referenced array.
This class represents a text area property in a property form.
properties()
edit properties of object (admin form)
getCreationMode()
get creation mode
User Interface class for file based learning modules (HTML)
updateObject()
updates object entry in object_data
static _getExportDirectory($a_obj_id, $a_type="xml", $a_obj_type="", $a_entity="")
Get export directory for an repository object.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
checkPermission($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission and redirect on error.
getTabs()
adds tabs to tab gui object
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
_noteAccess($a_obj_id, $a_type, $a_ref_id)
Note the access of the current usr to an object.
File System Explorer GUI class.
static yn2tf($a_yn)
convert "y"/"n" to true/false
static redirect($a_script)
http redirect to other script
addHeaderAction()
Add header action menu.
static delDir($a_dir, $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
Class ilObjUserTrackingGUI.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
editBibItem()
edit bib items (module call)