Show all courses where I am enrolled as trainer

Re: Show all courses where I am enrolled as trainer

von Andreas Schenkel -
Anzahl Antworten: 0
Nutzerbild von Plugin developers
I build my first moodle block and have just created a version 0.8-beta of the block.
https://github.com/andreasschenkel/moodle-block_course_list_advanced
It shows one list with the courses the user has the capability 'moodle/course:manageactivities') and a second list with all other course.
So the second lsit includes all courses where the usere is enrolled and has NOT this capability (e.g student, noneditingteacher, guest, ...)
Do not now if it might be to expensive in large installations.
Thank you for the answer that helps me to with the first steps.
(languagestring ist missing)