MDL-20620 ims-cc import - load resources in object, so navigation doesn't get lost...
[moodle.git] / lib / db / services.php
CommitLineData
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(
ef22c1b6 28
29 // === group related functions ===
cfb99b75 30/*
9a0df45a 31 'moodle_group_create_groups' => array(
32 'classname' => 'moodle_group_external',
33 'methodname' => 'create_groups',
34 'classpath' => 'group/externallib.php',
9a0df45a 35 ),
cfb99b75 36*/
9a0df45a 37 'moodle_group_get_groups' => array(
38 'classname' => 'moodle_group_external',
39 'methodname' => 'get_groups',
40 'classpath' => 'group/externallib.php',
cfb99b75 41 'description' => 'Returns group details.',
9a0df45a 42 ),
cfb99b75 43/*
9a0df45a 44 'moodle_group_delete_groups' => array(
45 'classname' => 'moodle_group_external',
46 'methodname' => 'delete_groups',
47 'classpath' => 'group/externallib.php',
9a0df45a 48 ),
49
50 'moodle_group_get_groupmembers' => array(
51 'classname' => 'moodle_group_external',
52 'methodname' => 'get_groupmembers',
53 'classpath' => 'group/externallib.php',
9a0df45a 54 ),
55
56 'moodle_group_add_groupmembers' => array(
57 'classname' => 'moodle_group_external',
58 'methodname' => 'add_groupmembers',
59 'classpath' => 'group/externallib.php',
9a0df45a 60 ),
61
62 'moodle_group_delete_groupmembers' => array(
63 'classname' => 'moodle_group_external',
64 'methodname' => 'delete_groupmembers',
65 'classpath' => 'group/externallib.php',
9a0df45a 66 ),
67
ef22c1b6 68 // === user related functions ===
69
70 'moodle_user_create_users' => array(
71 'classname' => 'moodle_user_external',
72 'methodname' => 'create_users',
73 'classpath' => 'user/externallib.php',
ef22c1b6 74 ),
75
76 'moodle_user_get_users' => array(
77 'classname' => 'moodle_user_external',
78 'methodname' => 'get_users',
79 'classpath' => 'user/externallib.php',
ef22c1b6 80 ),
81
82 'moodle_user_delete_users' => array(
83 'classname' => 'moodle_user_external',
84 'methodname' => 'delete_users',
85 'classpath' => 'user/externallib.php',
ef22c1b6 86 ),
87
88 'moodle_user_update_users' => array(
89 'classname' => 'moodle_user_external',
90 'methodname' => 'update_users',
91 'classpath' => 'user/externallib.php',
ef22c1b6 92 ),
cfb99b75 93*/
9a0df45a 94);