Skip to content

3. For Developers

Johannes Konert edited this page Feb 20, 2017 · 3 revisions

How to use the Groupformation Plugin (Developers)

As a developer you might want to edit the questionnaire content or configure the GroupAL implementation.

For manipulation of the properties and configuration of the questionnaire and GroupAL algorithm, take a look at the define_file.php (https://github.com/moodlepeers/moodle-mod_groupformation/blob/master/classes/util/define_file.php). You can edit the categories of the questionnaire and the criteria that are used for the GroupAL algorithm.

For manipulation of the questions of each category, take a look at the directory ./xml_question (https://github.com/moodlepeers/moodle-mod_groupformation/tree/master/xml_question). You can edit the XML files and add additional categories and languages.

The Groupformation plugin relies on the custom library GroupAL. The PHP code of this lib is inside the ./lib folder of the plugin (https://github.com/moodlepeers/moodle-mod_groupformation/blob/master/lib/). It is used in the job_manager.php (https://github.com/moodlepeers/moodle-mod_groupformation/blob/master/classes/moodle_interface/job_manager.php) file. You can edit the used matcher and implement further algorithm types.

Clone this wiki locally