[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/enrol/mnet/ -> enrol.php (summary)

(no description)

File Size: 608 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

enrolment_plugin_mnet:: (13 methods):
  config_form()
  process_config()
  get_access_icons()
  mnet_publishes()
  available_courses()
  user_enrolments()
  course_enrolments()
  enrol_user()
  unenrol_user()
  list_remote_servers()
  fetch_remote_courses()
  req_enrol_user()
  req_unenrol_user()


Class: enrolment_plugin_mnet  - X-Ref

config_form($frm)   X-Ref
No description

process_config($config)   X-Ref
No description

get_access_icons($course)   X-Ref
No description

mnet_publishes()   X-Ref
No description

available_courses()   X-Ref
Does Foo

param: string $username   The username
param: int    $mnethostid The id of the remote mnethost
return: bool              Whether the user can login from the remote host

user_enrolments($userid)   X-Ref
No description

course_enrolments($courseid, $roles = '')   X-Ref
Get a list of users from the client server who are enrolled in a course

param: int     $courseid   The Course ID
param: string  $roles      Comma-separated list of role shortnames
return: array               Array of usernames who are homed on the

enrol_user($user, $courseid)   X-Ref
Enrols user to course with the default role

param: string $username   The username of the remote use
param: int    $courseid   The id of the local course
return: bool              Whether the enrolment has been successful

unenrol_user($username, $courseid)   X-Ref
Unenrol a user from a course

param: string $username   The username
param: int    $courseid   The id of the local course
return: bool              Whether the user can login from the remote host

list_remote_servers()   X-Ref
Lists remote servers we use 'enrol' services from.

return: array

fetch_remote_courses($mnethostid)   X-Ref
Does Foo

param: int    $mnethostid The id of the remote mnethost
return: array              Whether the user can login from the remote host

req_enrol_user($userid, $courseid)   X-Ref
Does Foo

param: int    $mnethostid The id of the remote mnethost
return: array              Whether the user can login from the remote host

req_unenrol_user($userid, $courseid)   X-Ref
Does Foo

param: int    $mnethostid The id of the remote mnethost
return: array              Whether the user can login from the remote host



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7