/** * initialisation */ function init() { $this->static_link_enabled = true; $this->delete_enabled = true; $this->cut_enabled = true; $this->copy_enabled = true; $this->subscribe_enabled = true; $this->link_enabled = true; $this->payment_enabled = false; $this->type = "svy"; $this->gui_class_name = "ilobjsurveygui"; // general commands array include_once './Modules/Survey/classes/class.ilObjSurveyAccess.php'; $this->commands = ilObjSurveyAccess::_getCommands(); }