50 $id_ref = $this->sc_object->getIdentifierRef();
54 $resource->readByIdRef($id_ref, $this->sc_object->getSLMId());
58 if ($resource->getHref() !=
"")
60 $param_str = ($this->sc_object->getParameters() !=
"")
61 ?
"?".$this->sc_object->getParameters()
64 $this->tpl =
new ilTemplate(
"tpl.scorm_content_frameset.html",
true,
true,
"Modules/ScormAicc");
65 $this->tpl->setVariable(
"ITEM_LOCATION",$slm_obj->getDataDirectory().
"/".$resource->getHref().$param_str);
66 $this->tpl->setVariable(
"ITEM_ID",
$_GET[
"obj_id"]);
67 $this->tpl->setVariable(
"REF_ID",
$_GET[
"ref_id"]);
68 $this->tpl->setVariable(
"USER_ID",$ilias->account->getId());
69 $this->tpl->setVariable(
"ADAPTER_NAME", $slm_obj->getAPIAdapterName());
76 $this->tpl->addBlockFile(
"CONTENT",
"content",
"tpl.scorm_obj.html",
"Modules/ScormAicc");
77 $this->tpl->setCurrentBlock(
"par_table");
78 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_item"));
80 $this->sc_object->getImportId());
82 $this->sc_object->getIdentifierRef());
83 $str_visible = ($this->sc_object->getVisible())
89 $this->sc_object->getParameters());
91 $this->sc_object->getTitle());
93 $this->sc_object->getPrereqType());
95 $this->sc_object->getPrerequisites());
97 $this->sc_object->getMaxTimeAllowed());
99 $this->sc_object->getTimeLimitAction());
101 $this->sc_object->getDataFromLms());
103 $this->sc_object->getMasteryScore());
104 $this->tpl->parseCurrentBlock();
special template class to simplify handling of ITX/PEAR
displayParameter($a_name, $a_value)
Class ilObjSCORMLearningModule.