/** * paste questios from the clipboard into the question pool */ function pasteObject() { if (array_key_exists("qpl_clipboard", $_SESSION)) { $this->object->pasteFromClipboard(); ilUtil::sendSuccess($this->lng->txt("qpl_paste_success"), true); } else { ilUtil::sendInfo($this->lng->txt("qpl_paste_no_objects"), true); } $this->ctrl->redirect($this, "questions"); }