5include_once (
'./Services/Object/classes/class.ilObject2GUI.php');
 
   31                if($this->id_type == self::WORKSPACE_NODE_ID)
 
   33                        include_once 
"Services/DiskQuota/classes/class.ilDiskQuotaHandler.php";
 
   36                                $this->lng->loadLanguageModule(
"file");
 
   38                                $this->ctrl->redirect($this, 
"cancel");
 
   42                $this->lng->loadLanguageModule(
"scov");
 
   44                $ilTabs->setBackTarget($this->lng->txt(
"back"),
 
   45                        $this->ctrl->getLinkTarget($this, 
"cancel"));
 
   47                include_once 
"Modules/ScormAicc/classes/Verification/class.ilSCORMVerificationTableGUI.php";
 
   49                $this->tpl->setContent($table->getHTML());
 
   59                $lm_id = $_REQUEST[
"lm_id"];
 
   62                        include_once 
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";                                                                                                                   
 
   66                                include_once 
"./Modules/ScormAicc/classes/class.ilObjSCORMLearningModule.php";          
 
   71                                include_once 
"./Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php";      
 
   74                        include_once 
"Modules/ScormAicc/classes/Verification/class.ilObjSCORMVerification.php";
 
   79                                $this->node_id = 
null;
 
   98                $file = $this->
object->getFilePath();
 
  111        public function render($a_return = 
false, $a_url = 
false)
 
  122                        $wsp_id = 
$tree->lookupNodeId($this->object->getId());
 
  124                        $caption = 
$lng->txt(
"wsp_type_scov").
' "'.$this->
object->getTitle().
'"';       
 
  127                        if(!file_exists($this->object->getFilePath()))
 
  130                                $message = 
$lng->txt(
"url_not_found");
 
  134                                include_once 
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
 
  139                                        $message = 
$lng->txt(
"permission_denied");
 
  147                                        $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());                       
 
  149                                return '<div><a href="'.$a_url.
'">'.$caption.
'</a></div>';                      
 
  153                                return '<div>'.$caption.
' ('.$message.
')</div>';
 
  162                include_once 
"Services/COPage/classes/class.ilPCVerification.php";
 
  168                $ilErr->raiseError($this->lng->txt(
'permission_denied'),
$ilErr->MESSAGE);
 
  171        public static function _goto($a_target)
 
  173                $id = explode(
"_", $a_target);
 
  175                $_GET[
"baseClass"] = 
"ilsharedresourceGUI";     
 
  176                $_GET[
"wsp_id"] = $id[0];               
 
  177                include(
"ilias.php");
 
An exception for terminatinating execution or to throw for unit testing.
static isUploadPossible($a_additional_size=null)
static _lookupSubType($a_obj_id)
lookup subtype id (scorm, aicc, hacp)
Class ilObjSCORM2004LearningModule.
Class ilObjSCORMLearningModule.
GUI class for scorm verification.
render($a_return=false, $a_url=false)
Render content.
create()
List all tests in which current user participated.
downloadFromPortfolioPage(ilPortfolioPage $a_page)
getType()
Functions that must be overwritten.
save()
create new instance and save it
static createFromSCORMLM(ilObjSAHSLearningModule $a_lm, $a_user_id)
Import relevant properties from given learning module.
New implementation of ilObjectGUI.
getAccessHandler()
Get access handler.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)
List all completed learning modules for current user.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static deliverFile($a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.
Access handler for personal workspace.
Tree handler for personal workspace.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file