5 include_once(
"./Services/COPage/classes/class.ilPageObjectGUI.php");
6 include_once(
"./Modules/LearningModule/classes/class.ilLMPage.php");
27 public function __construct($a_id = 0, $a_old_nr = 0, $a_prevent_get_id =
false, $a_lang =
"")
31 $this->lng = $DIC->language();
32 $this->
user = $DIC->user();
33 $this->db = $DIC->database();
34 $this->plugin_admin = $DIC[
"ilPluginAdmin"];
35 $this->log = $DIC[
"ilLog"];
36 parent::__construct(
"lm", $a_id, $a_old_nr, $a_prevent_get_id, $a_lang);
38 include_once(
"./Modules/LearningModule/classes/class.ilObjContentObject.php");
49 if (strtolower(
$_GET[
"cmdClass"]) ==
"ilassquestionfeedbackeditinggui") {
50 include_once(
"./Modules/LearningModule/classes/class.ilObjContentObject.php");
70 parent::processAnswer();
79 include_once(
"./Modules/LearningModule/classes/class.ilObjContentObject.php");
84 include_once(
"./Services/COPage/classes/class.ilPageQuestionProcessor.php");
87 include_once(
"./Modules/TestQuestionPool/classes/class.ilAssQuestionList.php");
89 $qlist->setParentObjId(0);
90 $qlist->setJoinObjectData(
false);
91 $qlist->addFieldFilter(
"question_id", array(
$id));
93 $qdata = $qlist->getQuestionDataArray();
95 if (
$as[
"try"] >= $qdata[
$as[
"qst_id"]][
"nr_of_tries"] && $qdata[
$as[
"qst_id"]][
"nr_of_tries"] > 0 && !
$as[
"passed"]) {
96 include_once
"./Services/Notification/classes/class.ilNotification.php";
100 include_once(
"./Modules/LearningModule/classes/class.ilLMMailNotification.php");
103 $not->setQuestionId(
$id);
104 $not->setRefId((
int) $_GET[
"ref_id"]);
105 $not->setRecipients(
$users);
static _lookupDisableDefaultFeedback($a_id)
Lookup disable default feedback.
getPageObject()
Get Page Object.
const TYPE_LM_BLOCKED_USERS
if(!array_key_exists('StateId', $_REQUEST)) $id
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($a_id=0, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="")
Constructor.
static _lookupRestrictForwardNavigation($a_obj_id)
Lookup forward restriction navigation.
static _lookupStoreTries($a_id)
Lookup disable default feedback.