summaryrefslogblamecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php
blob: 6e07e1f4bc1a0724e18326be2f3de52d84c59791 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                   
        
     
                                                               

                                                              

                                                      

                                          




                                          


















                                                    
<?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){
        
    }

}
?>