This commit is contained in:
Xes
2025-08-14 22:37:50 +02:00
parent fb6d5d5926
commit 3641e93527
9156 changed files with 1813532 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
/* For licensing terms, see /license.txt */
/**
* @package chamilo.webservices
*/
require_once __DIR__.'/cm_webservice_courses.php';
require_once __DIR__.'/cm_soap.php';
/**
* Configures the WSCourse SOAP service.
*/
$s = WSCMSoapServer::singleton();
$s->register(
'WSCMCourses.get_courses_code',
[
'username' => 'xsd:string',
'password' => 'xsd:string',
],
['return' => 'xsd:string'],
'urn:WSCMService',
'',
'',
'',
'Retorna o CODE dos cursos do username.'
);
$s->register(
'WSCMCourses.get_course_title',
[
'username' => 'xsd:string',
'password' => 'xsd:string',
'course_code' => 'xsd:string',
],
['return' => 'xsd:string'],
'urn:WSCMService',
'',
'',
'',
'Retorna o titulo/nome do curso de course_code informado'
);