Currently I'm trying to query every course activity which is tagged by a certain tag. This would help me to subdivide the graded activites into subject areas.
However the tagging API doesn't seem to be so straight forward to use. How for example would I query (preferable using moodle functions instead of SQL) e.g. all quizzes inside of a course using a common tag shared across these quizzes?