25                 if (
$_GET[
"qpool_ref_id"])
 
   29                 else if (
$_GET[
"qpool_obj_id"])
 
   35                 $lng->loadLanguageModule(
"assessment");
 
   37                 $ilCtrl->saveParameter($this, array(
"qpool_ref_id", 
"qpool_obj_id", 
"q_id", 
"q_type"));
 
   39                 $this->new_id_listeners = array();
 
   40                 $this->new_id_listener_cnt = 0;
 
   50                 $this->selfassessmenteditingmode = $a_selfassessmenteditingmode;
 
   60                 return $this->selfassessmenteditingmode;
 
   70                 $this->defaultnroftries = $a_defaultnroftries;
 
   80                 return $this->defaultnroftries;
 
   90                 $this->page_config = $a_val;
 
  100                 return $this->page_config;
 
  110                 $cnt = $this->new_id_listener_cnt;
 
  111                 $this->new_id_listeners[$cnt][
"object"] =& $a_object;
 
  112                 $this->new_id_listeners[$cnt][
"method"] = $a_method;
 
  113                 $this->new_id_listeners[$cnt][
"parameters"] = $a_parameters;
 
  114                 $this->new_id_listener_cnt++;
 
  124                 $cmd = $ilCtrl->getCmd();
 
  125                 $next_class = $ilCtrl->getNextClass();
 
  132                                 include_once 
"./Modules/TestQuestionPool/classes/class.assQuestionGUI.php";
 
  135                                 $q_gui->setSelfAssessmentEditingMode(
 
  137                                 $q_gui->setDefaultNrOfTries(
 
  140                                 if (is_object($this->page_config))
 
  142                                         $q_gui->setPreventRteUsage($this->
getPageConfig()->getPreventRteUsage());
 
  146                                 for ($i=0; $i<$this->new_id_listener_cnt; $i++)
 
  148                                         $object =& $this->new_id_listeners[$i][
"object"];
 
  149                                         $method = $this->new_id_listeners[$i][
"method"];
 
  150                                         $parameters = $this->new_id_listeners[$i][
"parameters"];
 
  151                                         $q_gui->addNewIdListener($object, $method,
 
  159                                 $count = $q_gui->object->isInUse();
 
  163                                         if ($rbacsystem->checkAccess(
"write", $this->pool_ref_id))
 
  168                                 $ilCtrl->setCmdClass(get_class($q_gui));
 
  169                                 $ret = $ilCtrl->forwardCommand($q_gui);
 
  183                 $this->questionid = $a_questionid;
 
  184                 $_GET[
"q_id"] = $this->questionid;
 
  194                 return $this->questionid;
 
  205                 $this->poolrefid = $a_poolrefid;
 
  206                 $_GET[
"qpool_ref_id"] = $this->poolrefid;
 
  217                 return $this->poolrefid;
 
  228                 $this->poolobjid = $a_poolobjid;
 
  229                 $_GET[
"qpool_obj_id"] = $this->poolobjid;
 
  239                 return $this->poolobjid;
 
  249                 $this->questiontype = $a_questiontype;
 
  250                 $_GET[
"q_type"] = $this->questiontype;
 
  260                 return $this->questiontype;