9a0df45a |
1 | <?php |
2 | |
3 | // This file is part of Moodle - http://moodle.org/ |
4 | // |
5 | // Moodle is free software: you can redistribute it and/or modify |
6 | // it under the terms of the GNU General Public License as published by |
7 | // the Free Software Foundation, either version 3 of the License, or |
8 | // (at your option) any later version. |
9 | // |
10 | // Moodle is distributed in the hope that it will be useful, |
11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | // GNU General Public License for more details. |
14 | // |
15 | // You should have received a copy of the GNU General Public License |
16 | // along with Moodle. If not, see <http://www.gnu.org/licenses/>. |
17 | |
18 | /** |
19 | * Core external functions and service definitions. |
20 | * |
21 | * @package moodlecore |
22 | * @subpackage webservice |
23 | * @copyright 2009 Petr Skoda (http://skodak.org) |
24 | * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
25 | */ |
26 | |
27 | $functions = array( |
28 | 'moodle_group_create_groups' => array( |
29 | 'classname' => 'moodle_group_external', |
30 | 'methodname' => 'create_groups', |
31 | 'classpath' => 'group/externallib.php', |
32 | 'params' => null, //TODO |
33 | 'returns' => null, //TODO |
34 | ), |
35 | |
36 | 'moodle_group_get_groups' => array( |
37 | 'classname' => 'moodle_group_external', |
38 | 'methodname' => 'get_groups', |
39 | 'classpath' => 'group/externallib.php', |
40 | 'params' => null, //TODO |
41 | 'returns' => null, //TODO |
42 | ), |
43 | |
44 | 'moodle_group_delete_groups' => array( |
45 | 'classname' => 'moodle_group_external', |
46 | 'methodname' => 'delete_groups', |
47 | 'classpath' => 'group/externallib.php', |
48 | 'params' => null, //TODO |
49 | 'returns' => null, //TODO |
50 | ), |
51 | |
52 | 'moodle_group_get_groupmembers' => array( |
53 | 'classname' => 'moodle_group_external', |
54 | 'methodname' => 'get_groupmembers', |
55 | 'classpath' => 'group/externallib.php', |
56 | 'params' => null, //TODO |
57 | 'returns' => null, //TODO |
58 | ), |
59 | |
60 | 'moodle_group_add_groupmembers' => array( |
61 | 'classname' => 'moodle_group_external', |
62 | 'methodname' => 'add_groupmembers', |
63 | 'classpath' => 'group/externallib.php', |
64 | 'params' => null, //TODO |
65 | 'returns' => null, //TODO |
66 | ), |
67 | |
68 | 'moodle_group_delete_groupmembers' => array( |
69 | 'classname' => 'moodle_group_external', |
70 | 'methodname' => 'delete_groupmembers', |
71 | 'classpath' => 'group/externallib.php', |
72 | 'params' => null, //TODO |
73 | 'returns' => null, //TODO |
74 | ), |
75 | |
76 | ); |