24 require_once
"./Services/Container/classes/class.ilContainerGUI.php";
52 public function __construct($a_data, $a_id, $a_call_by_reference)
56 $this->rbacadmin = $DIC->rbac()->admin();
57 $this->rbacsystem = $DIC->rbac()->system();
59 parent::__construct($a_data, $a_id, $a_call_by_reference,
false);
71 $newObj = parent::saveObject();
76 ilUtil::sendSuccess($this->lng->txt(
"object_added"),
true);
84 include_once(
"./Services/Repository/classes/class.ilRepUtilGUI.php");
86 $ru->removeObjectsFromSystem(
$_POST[
"id"],
true);
87 $this->ctrl->redirect($this,
"view");
92 $next_class = $this->ctrl->getNextClass($this);
93 $cmd = $this->ctrl->getCmd();
96 switch ($next_class) {
97 case 'ilpermissiongui':
98 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
100 $ret = &$this->ctrl->forwardCommand($perm_gui);
118 $this->sub_objects =
"";
128 "cut" => array(
"name" =>
"cut",
"lng" =>
"cut"),
129 "clear" => array(
"name" =>
"clear",
"lng" =>
"clear"),
130 "removeFromSystem" => array(
"name" =>
"removeFromSystem",
"lng" =>
"btn_remove_system")
Class ilObjRecoveryFolderGUI.
prepareOutput($a_show_subobjects=true)
prepare output
__construct($a_data, $a_id, $a_call_by_reference)
Constructor public.
saveObject()
save object public
Repository GUI Utilities.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.