Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
// This file is part of Moodle - http://moodle.org/
3
//
4
// Moodle is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// Moodle is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
 
17
/**
18
 * Zoom external functions and service definitions.
19
 *
20
 * @package    mod_zoom
21
 * @category   external
22
 * @author     Nick Stefanski
23
 * @copyright  2017 Auguste Escoffier School of Culinary Arts {@link https://www.escoffier.edu}
24
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 * @since      Moodle 3.1
26
 */
27
 
28
defined('MOODLE_INTERNAL') || die;
29
 
30
$functions = [
31
 
32
    'mod_zoom_get_state' => [
33
        'classname' => 'mod_zoom\external',
34
        'methodname' => 'get_state',
35
        'classpath' => 'mod/zoom/classes/external.php',
36
        'description' => 'Determine if a zoom meeting is available, meeting '
37
        . 'status, and the start time, duration, and other meeting options.',
38
        'type' => 'read',
39
        'capabilities' => 'mod/zoom:view',
40
        'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE, 'local_mobile'],
41
    ],
42
 
43
    'mod_zoom_grade_item_update' => [
44
        'classname' => 'mod_zoom\external',
45
        'methodname' => 'grade_item_update',
46
        'classpath' => 'mod/zoom/classes/external.php',
47
        'description' => 'Creates or updates grade item for the given zoom instance and returns join url.',
48
        'type' => 'write',
49
        'capabilities' => 'mod/zoom:view',
50
        'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE, 'local_mobile'],
51
    ],
52
 
53
];