blob: 6e07e1f4bc1a0724e18326be2f3de52d84c59791 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php
class Coursebackend_Davinci extends CourseBackend {
private $location;
public $serverID;
function __construct($location, $serverID) {
}
public function setCredentials($json,$location,$serverID) {
$this->error = true;
$this->errormsg = "This class is just a place holder";
$this->location = $location."/daVinciIS.dll?";
$this->serverID = $serverID;
//Davinci doesn't have credentials
}
public function checkConection(){
$this->fetchSchedulesInternal(42);
return $this->error;
}
public function getCredentials(){
$return = array();
return $return;
}
public function getDisplayName(){
return'Davinci';
}
public function getCacheTime(){
return 0;
}
public function getRefreshTime(){
return 0;
}
public function fetchSchedulesInternal($roomId){
}
}
?>
|