[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/enrol/self/ -> locallib.php (summary)

Self enrol plugin implementation.

Copyright: 2010 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 152 lines (6 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

enrol_self_enrol_form:: (3 methods):
  get_form_identifier()
  definition()
  validation()

Defines 3 functions

  enrol_self_check_group_enrolment_key()

Class: enrol_self_enrol_form  - X-Ref

get_form_identifier()   X-Ref
Overriding this function to get unique form id for multiple self enrolments.

return: string form identifier

definition()   X-Ref
No description

validation($data, $files)   X-Ref
No description

Functions
Functions that are not part of a class:

enrol_self_check_group_enrolment_key($courseid, $enrolpassword)   X-Ref
Check if the given password match a group enrolment key in the specified course.

param: int $courseid            course id
param: string $enrolpassword    enrolment password
return: bool                     True if match



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1