/** * Display deletion confirmation screen. * Only for referenced objects. For user,role & rolt overwrite this function in the appropriate * Object folders classes (ilObjUserFolderGUI,ilObjRoleFolderGUI) * * @access public */ public function deleteObject($a_error = false) { global $ilCtrl; if ($_GET["item_ref_id"] != "") { $_POST["id"] = array($_GET["item_ref_id"]); } if (is_array($_POST["id"])) { foreach ($_POST["id"] as $idx => $id) { $_POST["id"][$idx] = (int) $id; } } // SAVE POST VALUES (get rid of this ilSession::set("saved_post", $_POST["id"]); include_once "./Services/Repository/classes/class.ilRepUtilGUI.php"; $ru = new ilRepUtilGUI($this); if (!$ru->showDeleteConfirmation($_POST["id"], $a_error)) { $ilCtrl->returnToParent($this); } }