See Release Notes
Long Term Support Release
Class for course_competency_settings persistence.
Copyright: | 2016 Damyon Wiese |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 141 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
course_competency_settings:: (7 methods):
define_properties()
get_by_courseid()
can_read()
can_manage_course()
can_manage()
validate_courseid()
get_context()
Class: course_competency_settings - X-Ref
Class for course_competency_settings persistence.define_properties() X-Ref |
Return the definition of the properties of this model. return: array |
get_by_courseid($courseid) X-Ref |
Get a the course settings for a single course. param: int $courseid The course id return: course_competency_settings |
can_read($courseid) X-Ref |
Can the current user view competency settings for this course. param: int $courseid The course ID. return: bool |
can_manage_course($courseid) X-Ref |
Can the current user change competency settings for this course. param: int $courseid The course ID. return: bool |
can_manage() X-Ref |
Can the current user change competency settings for this course. return: bool |
validate_courseid($data) X-Ref |
Validate course ID. param: int $data The course ID. return: true|lang_string |
get_context() X-Ref |
Get the context. return: context The context |