by Pieterjan Heyse.
I'm afraid not. In the UI you can add a cohort to a course and at that time ask Moodle to create a group in that course with the same name. The API does not provide this functionality and I think I had to add this plugin to be able to do this with the API. It's a good excuse to learn git, more Powershell and use my github account to upload the code I'll try to make to extend your functionality.
I'll get in touch if I have it working to maybe integrate this back in your code? I don't know how this would go, but this seems like a nice idea. Totally new to all this stuff...
Thanks,
Pieterjan
I'll get in touch if I have it working to maybe integrate this back in your code? I don't know how this would go, but this seems like a nice idea. Totally new to all this stuff...
Thanks,
Pieterjan