/** * Constructor * * @access public */ function ilObjDlBookGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = true) { $this->type = "dbk"; parent::ilObjContentObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output); # BETTER DO IT HERE THAN IN PARENT CLASS ( PROBLEMS FOR import, create) $this->assignObject(); // SAME REASON if ($a_id != 0) { $this->lm_tree =& $this->object->getLMTree(); } }
/** * Constructor * @access public */ function ilObjLearningModuleGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = true) { $this->type = "lm"; parent::ilObjContentObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output); # BETTER DO IT HERE THAN IN PARENT CLASS ( PROBLEMS FOR import, create) $this->assignObject(); // SAME REASON if ($a_id != 0) { $this->lm_tree =& $this->object->getLMTree(); } /* global $ilias, $tpl, $lng, $objDefinition; $this->ilias =& $ilias; $this->tpl =& $tpl; $this->lng =& $lng; $this->objDefinition =& $objDefinition; $this->lm_tree =& $a_tree; */ //$this->read(); todo }