/** * copy one or more question objects to the clipboard */ public function copyObject() { if (count($_POST["q_id"]) > 0) { foreach ($_POST["q_id"] as $key => $value) { $this->object->copyToClipboard($value); } ilUtil::sendInfo($this->lng->txt("qpl_copy_insert_clipboard"), true); } else { ilUtil::sendInfo($this->lng->txt("qpl_copy_select_none"), true); } $this->ctrl->redirect($this, "questions"); }