summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php
blob: a94f37b93f565165f5019acd3a5f8546663c8786 (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
<?php
class Coursebackend_Davinci extends CourseBackend {

    private $location;
    public $serverID;
    
    function __construct($location, $serverID) {
        $this->location = $location."/daVinciIS.dll?";
        $this->serverID = $serverID;
    }
    public function setCredentials($json,$location,$serverID) {
        $this->error = true;
        $this->errormsg = "This class is just a place holder";
        //Davinci doesn't have credentials
    }
    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){
        
    }

}
?>