Adding "subscribe" record for all the services that are, in fact, remote
[mahara-contrib:local-mahara.git] / db / mnet.php
1 <?php
2 defined('MOODLE_INTERNAL') || die();
3
4 $publishes = array(
5     'maharaviewsubmission' => array(
6         'apiversion' => 1,
7         'classname'  => 'maharaviewsubmission_mnetservice',
8         'filename'   => 'mnetlib.php',
9         'methods'    => array(
10             'get_views_for_user',
11             'submit_view_for_assessment',
12             'release_submitted_view',
13         ),
14     ),
15 );
16
17 $subscribes = array(
18     'maharaviewsubmission' => array(
19         'get_views_for_user' => 'mod/mahara/rpclib.php/get_views_for_user',
20         'submit_view_for_assignment' => 'mod/mahara/rpclib.php/submit_view_for_assessment',
21         'release_submitted_view' => 'mod/mahara/rpclib.php/release_submitted_view',
22     ),
23 );