Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Overview of MFM code: Difference between revisions

From MoodleDocs
mNo edit summary
Line 14: Line 14:
* Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.
* Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.


[[Category:Overview of MFM code]]
[[Category:Moodle For Mobiles]]
[[Category:Moodle For Mobiles]]

Revision as of 08:10, 10 June 2011

Moodle1.9

Code included in config.php detects mobile phone and  :

  • Turns on UTF8 to SJIS transformation buffer.
  • Turns on cookieless sessions when needed.
  • Runs through setup.php as normal.
  • moodlelib, datalib and weblib.php included as normal.
  • When setup.php ends ‘customscripts’ functionality triggers our special scripts that output chtml rather than xhtml.

Moodle customscripts functionality runs an alternative script that generates chtml rather than xhtml and optimized for small screen. Uses custom adaptations of some moodlelib.php, weblib.php and course/lib.php functions. Function names start with mfm_*

Code Maintenance

  • Code directory structure is same as main moodle code.
  • Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.