Sharing courses

Re: Absolute vs Relative links

by Williams Castillo -
Number of replies: 0
This discussion bring to my mind one I was having with Eloy when talking about the bookmark hack...

We were talking about how to deal with bookmarks when the user made a backup/restore...

The last words/thoughts we had was that all modules within moodle MUST had a common set of parameters in order to make it scalable, mantainable... which could be a pain in the neck when dealing with complex modules, like quiz.

It is already done already, partially at least... all modules use id for the $cm->id...

Uhmm... I'm just thinking about other possibility... There could be a common function in every module that returns an array with all parameters it uses among the module, and its right translation (mode => GLOSSARY_VIEW, hook => GLOSSARY_AUX_ID, etc)...

Will