[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Adds new instance of enrol_self to specified course or edits current instance.
Copyright: | 2010 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 217 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
enrol_self_edit_form:: (3 methods):
definition()
validation()
extend_assignable_roles()
Class: enrol_self_edit_form - X-Ref
definition() X-Ref |
No description |
validation($data, $files) X-Ref |
No description |
extend_assignable_roles($context, $defaultrole) X-Ref |
Gets a list of roles that this user can assign for the course as the default for self-enrolment. param: context $context the context. param: integer $defaultrole the id of the role that is set as the default for self-enrolment return: array index is the role id, value is the role name |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |