Talk:Course drag and drop upload
From MoodleDocs
Note: i'm a little out of touch with the mod/ api, so this may not make mod-type sense.
I think I agree with the basic principle of the design, but rather than '[modname]_dndupload_register' which receives dndupload_handler object, I would go for something of something a bit like the repository API with something like a static '[modname]_supports_dndupload' function which returns which types it supports.
I'm not clear on what can be done with non-file types of drag/drop. Can you give some examples of this? --Dan Poltawski 00:21, 20 January 2012 (WST)