00001 <?php 00002 00003 require_once("content/classes/class.ilObjAICCLearningModuleGUI.php"); 00004 require_once("content/classes/class.ilObjHACPLearningModule.php"); 00005 00017 class ilObjHACPLearningModuleGUI extends ilObjAICCLearningModuleGUI 00018 { 00024 function ilObjHACPLearningModuleGUI($a_data,$a_id,$a_call_by_reference, $a_prepare_output = true) 00025 { 00026 global $lng; 00027 00028 $lng->loadLanguageModule("content"); 00029 $this->type = "sahs"; 00030 $this->ilObjectGUI($a_data,$a_id,$a_call_by_reference,$a_prepare_output); 00031 $this->tabs_gui =& new ilTabsGUI(); 00032 00033 } 00034 00035 00039 function assignObject() 00040 { 00041 if ($this->id != 0) 00042 { 00043 if ($this->call_by_reference) 00044 { 00045 $this->object =& new ilObjHACPLearningModule($this->id, true); 00046 } 00047 else 00048 { 00049 $this->object =& new ilObjHACPLearningModule($this->id, false); 00050 } 00051 } 00052 } 00053 00054 00055 00056 } // END class.ilObjAICCLearningModule 00057 ?>