Example for core_course_get_categories

Example for core_course_get_categories

by Moritz Grey -
Number of replies: 0
Hey Everybody, 

is it possible to get the id of a moodle_category under using the moodle API core_course_get_categories? I have a Category with Name "Business English". Yes i know, i can get the category with an sql-Statement ''' select id from mdl_course_categories where name = "Business English" ''' But i want to use the API. How can i do this? PS: I use successfully different other APIs, example create_users, delete_users, create_courses, delete_courses, create_categories aso. Thanks everybody for help smile!
Average of ratings: -