(no description)
File Size: | 121 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
get_grade_tree:: (4 methods):
execute_parameters()
execute()
execute_returns()
generate_course_grade_tree()
Class: get_grade_tree - X-Ref
Web service to return the grade tree structure for a given course.execute_parameters() X-Ref |
Returns description of method parameters. return: external_function_parameters |
execute(int $courseid) X-Ref |
Given a course ID, return the grade tree structure for that course. param: int $courseid The course ID. return: string JSON encoded data representing the course grade tree structure. |
execute_returns() X-Ref |
Describes the return structure. return: external_value |
generate_course_grade_tree(\grade_category $gradecategory) X-Ref |
Recursively generates the course grade tree structure. param: \grade_category $gradecategory The course grade category. return: array The course grade tree structure. |