/** * initialisation * * this method should be overwritten by derived classes */ function init() { $this->copy_enabled = true; $this->delete_enabled = true; $this->cut_enabled = true; $this->subscribe_enabled = true; $this->link_enabled = true; $this->payment_enabled = true; $this->info_screen_enabled = true; $this->type = "sahs"; $this->gui_class_name = "ilobjsahslearningmodulegui"; // general commands array include_once './Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php'; $this->commands = ilObjSAHSLearningModuleAccess::_getCommands(); }
/** * inititialize new item * * @param int $a_ref_id reference id * @param int $a_obj_id object id * @param string $a_title title * @param string $a_description description */ function initItem($a_ref_id, $a_obj_id, $a_title = "", $a_description = "") { // general commands array $this->commands = ilObjSAHSLearningModuleAccess::_getCommands($a_obj_id); parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description); }