diff options
author | Jannik Schönartz | 2017-02-27 07:53:38 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-02-27 07:53:38 +0100 |
commit | 52406c0dd2017baed38df39a0574f1e8bbd549b8 (patch) | |
tree | 2335acef3bfb593d43e8eac28c5700b8c02646ed /modules-available/locationinfo/inc | |
parent | Bugfixes (diff) | |
download | slx-admin-52406c0dd2017baed38df39a0574f1e8bbd549b8.tar.gz slx-admin-52406c0dd2017baed38df39a0574f1e8bbd549b8.tar.xz slx-admin-52406c0dd2017baed38df39a0574f1e8bbd549b8.zip |
Admin panel: New server GUI now using the backend types.
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php new file mode 100644 index 00000000..6fa4f32f --- /dev/null +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php @@ -0,0 +1,37 @@ +<?php +class Coursebackend_Dummy extends CourseBackend { + + private $location; + public $serverID; + + function __construct($location, $serverID) { + + } + + public function setCredentials($json,$location,$serverID) { + } + + public function getCredentials(){ + $options = ["opt1", "opt2", "opt3", "opt4", "opt5", "opt6", "opt7", "opt8"]; + $credentials = ["username" => "string","password"=>"string","option"=>$options]; + return $credentials; + } + + public function getDisplayName(){ + return'Dummy with array'; + } + + public function getCacheTime(){ + return 0; + } + + public function getRefreshTime(){ + return 0; + } + + public function fetchSchedulesInternal($roomId){ + + } + +} +?> |