Initial commit
[mahara-contrib:local-mahara.git] / rpclib.php
1 <?php
2 function mahara_mnet_publishes() {
3     return array(array(
4         'name'       => 'mahara',
5         'apiversion' => 1,
6         'methods'    => array(
7             'get_views_for_user',
8             'submit_view_for_assessment',
9             'release_submitted_view',
10         ),
11     ));
12 }
13
14 function get_views_for_user($username, $query=null) {
15     return new StdClass;
16 }
17
18 function submit_view_for_assessment($username, $viewid) {
19     return array();
20 }
21
22 function release_submitted_view($viewid, $assessmentdata=array(), $username) {
23 }
24
25 ?>