get_setting_for_course()
Parameters
- Token(character varying)
- Name(character varying)
- CourseID(integer)
Returns
- Error or a specific setting
Description
- Unlike get_user_settings this gets a specific setting. This function restricts the results for that specific setting to a specific course. See Settings for more information about settings.
Errors
- 1 - Invalid Session.
- 2 - Setting does not exist.
- 3 - User does not have permission to see this setting.