5 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   19                 $a_tree, $a_slm_obj, $a_chap)
 
   24                 $this->tree = $a_tree;
 
   25                 $this->slm_object = $a_slm_obj;
 
   26                 $this->chap = $a_chap;
 
   27                 $this->
addColumn($lng->txt(
"sahs_sco_objective"), 
"", 
"50%");
 
   28                 $this->
addColumn($lng->txt(
"sahs_questions"), 
"", 
"50%");
 
   36                 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
 
   37                 $this->
setTitle(ilScorm2004Node::_lookupTitle($this->chap),
 
   46                 $nodes = $this->tree->getChilds($this->chap);
 
   50                 foreach($nodes as $node)
 
   52                         if ($node[
"type"] == 
"sco")
 
   72                 $lng->loadLanguageModule(
"assessment");
 
   73                 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeFactory.php");
 
   75                         $a_set[
"child"], 
false);
 
   76                 $tr_data = $node_object->getObjectives();
 
   79                 foreach($tr_data as 
$data)
 
   81                         $this->tpl->setCurrentBlock(
"objective");
 
   82                         $this->tpl->setVariable(
"TXT_LEARNING_OBJECTIVE", $data->getObjectiveID());
 
   84                         $this->tpl->parseCurrentBlock();
 
   88                 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Page.php");
 
   89                 include_once(
"./Modules/TestQuestionPool/classes/class.assQuestion.php");
 
   90                 $childs = $this->tree->getChilds($a_set[
"child"]);
 
   91                 foreach ($childs as $child)
 
   99                                 foreach ($qids as $qid)
 
  101                                         $this->tpl->setCurrentBlock(
"question");
 
  105                                         $this->tpl->setVariable(
"TXT_QUESTION", $qtext);
 
  106                                         $this->tpl->setVariable(
"TXT_QTYPE", $lng->txt($qtype));
 
  107                                         $this->tpl->setVariable(
"IMG_QST",
 
  109                                         $this->tpl->parseCurrentBlock();
 
  114                                 $this->tpl->setCurrentBlock(
"page");
 
  115                                 $this->tpl->setVariable(
"TXT_PAGE_TITLE", $page_title);
 
  117                                 $ilCtrl->setParameterByClass(
"ilscorm2004pagenodegui", 
"obj_id", $child[
"child"]);
 
  118                                 $this->tpl->setVariable(
"HREF_EDIT_PAGE",
 
  119                                         $ilCtrl->getLinkTargetByClass(
"ilscorm2004pagenodegui",
 
  121                                 $this->tpl->parseCurrentBlock();
 
  126                 $this->tpl->setVariable(
"TXT_SCO_TITLE", $a_set[
"title"]);
 
  128                 $ilCtrl->setParameterByClass(
"ilscorm2004scogui", 
"obj_id", $a_set[
"child"]);
 
  129                 $this->tpl->setVariable(
"HREF_EDIT_SCO",
 
  130                         $ilCtrl->getLinkTargetByClass(
"ilscorm2004scogui",