navigation MDL-22732 Removed add resources and activities branches from nav when...
[moodle.git] / repository / remotemoodle / db / mnet.php
CommitLineData
d2ac37c1
PL
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/**
20 * This file contains the mnet services for the remotemoodle repository plugin
21 *
22 * @since 2.0
23 * @package moodlecore
24 * @subpackage repository
25 * @copyright 2010 Penny Leach
26 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27 */
28
29$publishes = array(
30 'remoterep' => array(
31 'apiversion' => 1,
32 'classname' => 'repository_remotemoodle',
33 'filename' => 'repository.class.php',
34 'methods' => array(
35 'getFileList',
36 'retrieveFile',
37 ),
38 ),
39);
b740b359
PL
40$subscribes = array(
41 'remoterep' => array(
42 'getFileList' => 'repository/remotemoodle/repository.class.php/getFileList',
43 'retrieveFile' => 'repository/remotemoodle/repository.class.php/retrieveFile',
44
45 ),
46);