Skip to content
Snippets Groups Projects
Select Git revision
  • hsh_3.10
  • master default protected
2 results

moodle-customfield_semester

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Alexander Bias authored
    This patch gets rid of the hardcoded term start months (april and october) and makes them configurable within two admin settings.
    
    In addition to that change, two functions are added to the data_controller class which make the term start months gettable for callers from outside of the plugin.
    To make clear from when on these functions are available for other plugins which require this plugin, the plugin version is bumped.
    15ac28f8
    History

    customfield_semester

    Adds a Semester customfield type to moodle.

    Choosable options for a semester customfield are a list of semesters and the "semesterindependent" option.

    Exactly which semesters are choosable are defined by these three options:

    • The year, in which the list of semesters begins.
      • Default value: 2007
    • An amount of months, that affects how many future semesters are added as options. For example, if you choose 9 months, all semesters that begin in the next 9 months (from whenever the semester menu is being viewed) are selectable additionally to all past ones.
      • Default value: 6
    • An amount of months, that affects which semester is selected as default. For example, if you choose 3 months, the default selection is the semester that will be in progress 3 months from whenever the semester menu is being viewed.
      • Default value: 3