32 $a_prevent_get_id =
false,
37 $this->lng = $DIC->language();
38 $this->
user = $DIC->user();
39 $this->db = $DIC->database();
40 $this->plugin_admin = $DIC[
"ilPluginAdmin"];
41 $this->log = $DIC[
"ilLog"];
42 $this->refinery = $DIC[
'refinery'];
55 if (strtolower(
$_GET[
"cmdClass"]) ==
"ilassquestionfeedbackeditinggui") {
76 parent::processAnswer();
92 $qlist->setParentObjId(0);
93 $qlist->setJoinObjectData(
false);
94 $qlist->addFieldFilter(
"question_id", array($id));
96 $qdata = $qlist->getQuestionDataArray();
98 if ($as[
"try"] >= $qdata[$as[
"qst_id"]][
"nr_of_tries"] && $qdata[$as[
"qst_id"]][
"nr_of_tries"] > 0 && !$as[
"passed"]) {
101 if (count($users) > 0) {
104 $not->setQuestionId($id);
105 $not->setRefId((
int) $_GET[
"ref_id"]);
106 $not->setRecipients($users);
116 if ($lm_tree->isInTree($this->getPageObject()->getId())) {
118 $this->ctrl->setParameterByClass(
119 ilStructureObjectGUI::class,
123 $this->ctrl->redirectByClass([
124 ilObjLearningModuleGUI::class,
125 ilStructureObjectGUI::class
128 $this->ctrl->redirectByClass(
129 ilObjLearningModuleGUI::class,
static _lookupDisableDefaultFeedback($a_id)
Lookup disable default feedback.
getPageObject()
Get Page Object.
const TYPE_LM_BLOCKED_USERS
static getNotificationsForObject($type, $id, $page_id=null, $ignore_threshold=false)
Get all users for given object.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
static lookupParentId($a_id, $a_type)
Lookup parent id.
static getAnswerStatus($a_q_id, $a_user_id=0)
Get statistics for question.
getPageConfig()
Get page config object.
Extension of ilPageObjectGUI for learning modules.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
processAnswer()
Process answer.
onFeedbackEditingForwarding()
On feedback editing forwarding.
__construct(Container $dic, ilPlugin $plugin)
static _lookupRestrictForwardNavigation($a_obj_id)
Lookup forward restriction navigation.
static _lookupStoreTries($a_id)
Lookup disable default feedback.
__construct( $a_id=0, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="", $concrete_lang="")
Constructor.