General developer forum

Course Formats

 
Picture of Chris Marsh
Course Formats
 

I'm having trouble finding any *detailed* documentation on course formats.  What I need to do is make a copy of the topics course format and add one field called "Duration" which will be a floating point value indicating the number of hours a self study course will generally take to complete.  I did find information on copying an existing format and what files I need to update.  There is also a list of functions that may need to be changed, but I cannot find *detailed* information about the format_base class or it's members.

I found a function called "course_format_options" which I'm guessing is where I need to begin.  I see how the function appears to be adding three fields.  Where is documentation about how this is done?  What options should I use?

Is there a complete list of classes and functions for Moodle somewhere that I'm not finding?
 
Average of ratings: -