/** * initialisation */ function init() { $this->delete_enabled = true; $this->cut_enabled = true; $this->copy_enabled = true; $this->subscribe_enabled = true; $this->link_enabled = true; $this->payment_enabled = true; $this->info_screen_enabled = true; $this->type = "file"; $this->gui_class_name = "ilobjfilegui"; // general commands array include_once './Modules/File/classes/class.ilObjFileAccess.php'; $this->commands = ilObjFileAccess::_getCommands(); }