| enrol.php [source] [357 lines] | Implements the XML-RPC methods this plugin publishes to MNet peers This file must be named enrol.php because current MNet framework has the filename hardcoded in XML-RPC path and we want to be compatible with Moodle 1.x MNet clients. There is a proposal in MDL-21993 to allow map XMP-RPC calls to whatever file, function, class or methods. Once this is fixed, this file will be probably renamed to mnetlib.php (which could be a common name of a plugin library containing functions/methods callable via MNet framework. |