Blame view

php/rest/getTimeTablesList.php 327 Bytes
16035364   Benjamin Renard   First commit
1
2
3
4
5
<?php
  
/** 
*   @file getTimeTablesList.php
*   @brief  REST interface for service getTimeTablesList
16035364   Benjamin Renard   First commit
6
7
*/

5e2ea05e   Elena.Budnik   update REST
8
	require_once '../config.php';
16035364   Benjamin Renard   First commit
9

5e2ea05e   Elena.Budnik   update REST
10
	$amda_ws = new WebServer();
16035364   Benjamin Renard   First commit
11

5e2ea05e   Elena.Budnik   update REST
12
	$result = $amda_ws->getTimeTablesList($_GET);
16035364   Benjamin Renard   First commit
13

5e2ea05e   Elena.Budnik   update REST
14
15
16
17
18
19
20
21
	if ($result['success'])
	{
		echo $result['TimeTablesList'];
	}
	else 
	{
		echo $result['message'];  
	}
16035364   Benjamin Renard   First commit
22
?>