*/
/**
- * This file generate a SOAP documentation in HTML
- * This documentation describe how to call Moodle SOAP Web Service
+ * This file generate a web service documentation in HTML
+ * This documentation describe how to call a Moodle Web Service
*/
require_once('../config.php');
require_once('lib.php');
generate_functionlist();
print_footer();
-
+/**
+ * Check if the Moodle site has the web service protocol enable
+ * @global object $CFG
+ * @param string $protocol
+ */
function check_webservices($protocol){
global $CFG;
}
/**
- *
- * @param <type> $protocol
+ * Generate documentation specific to a protocol
+ * @param string $protocol
*/
function generate_documentation($protocol) {
switch ($protocol) {
/**
- *
- * @global <type> $CFG
+ * Generate web service function list
+ * @global object $CFG
*/
function generate_functionlist () {
global $CFG;
/**
* Retrieve all external.php from Moodle
- * @param <type> $
- * @param <type> $directorypath
+ * @param array $files
+ * @param string $directorypath
* @return boolean result true if n
*/
function setListApiFiles( &$files, $directorypath )