1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<?php
# Lifter002: TODO
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
/*
* contentmodule_webservice.php - Provides webservices for infos about
* contentmodules
*
* Copyright (C) 2006 - Marco Diedrich (mdiedric@uos.de)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*/
require_once('lib/webservices/api/studip_contentmodule.php');
class ContentmoduleService extends AccessControlledService
{
function __construct()
{
$this->add_api_method('find_seminars_using_contentmodule',
['string', 'string', 'string'],
['string'],
'');
$this->add_api_method('find_institutes_using_contentmodule',
['string', 'string', 'string'],
['string'],
'');
}
function find_seminars_using_contentmodule_action($api_key, $system_type, $module_id)
{
return StudipContentmoduleHelper::find_seminars_using_contentmodule($system_type, $module_id);
}
function find_institutes_using_contentmodule_action($api_key, $system_type, $module_id)
{
return StudipContentmoduleHelper::find_institutes_using_contentmodule($system_type, $module_id);
}
}
|