I am developing software that is able to import questions that are made up of images, mainly a question image and and multiple answer images. However, due to the differnces of file structure across multiple versions of moodle (right now I'm focusing on 2.0+) I need to design the program so that it functions differently based on the version of moodle that the user is using.
For example, the quiz XML for versions 2.1 and above are different from 2.0.x, and thus require a different format. This is fine -- I can format the XML differently depending on the version of the user. The problem is that I have not been able to figure out a way to access moodle's version info with only teacher level access to moodle.
Any help would be greatly appreciated!