summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc
diff options
context:
space:
mode:
authorDirk Riestere2017-02-27 20:27:19 +0100
committerDirk Riestere2017-02-27 20:27:19 +0100
commit9276d5471f9697e336b1da94f5fd2ff29fe74b2e (patch)
tree9425a2e1ecf902aa59b4807645601029518d64fb /modules-available/locationinfo/inc
parentBugfixes and Errorcode implementation (diff)
parentAdmin panel: New server GUI now using the backend types. (diff)
downloadslx-admin-9276d5471f9697e336b1da94f5fd2ff29fe74b2e.tar.gz
slx-admin-9276d5471f9697e336b1da94f5fd2ff29fe74b2e.tar.xz
slx-admin-9276d5471f9697e336b1da94f5fd2ff29fe74b2e.zip
Merge branch 'location-info-panel' of git.openslx.org:openslx-ng/slx-admin into location-info-panel
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r--modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php37
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){
+
+ }
+
+}
+?>