diff options
author | Dirk Riestere | 2017-02-24 18:12:39 +0100 |
---|---|---|
committer | Dirk Riestere | 2017-02-24 18:12:39 +0100 |
commit | 0c50b5e0a61ffe7b5d543d9cba94ea88ab009f04 (patch) | |
tree | 968d2da75e5ecd3e6f06ccf692f92d175b61f0d6 /modules-available/locationinfo/inc/coursebackend | |
parent | frontend: bug fixes (diff) | |
download | slx-admin-0c50b5e0a61ffe7b5d543d9cba94ea88ab009f04.tar.gz slx-admin-0c50b5e0a61ffe7b5d543d9cba94ea88ab009f04.tar.xz slx-admin-0c50b5e0a61ffe7b5d543d9cba94ea88ab009f04.zip |
Bugfixes und Caching wie besprochen verändert
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | 2 | ||||
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php index 3bb17e88..8180f9da 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php @@ -8,7 +8,7 @@ class Coursebackend_Davinci extends CourseBackend { $this->location = $location."/daVinciIS.dll?"; $this->serverID = $serverID; } - public function setCredentials($param) { + public function setCredentials($json,$location,$serverID) { //Davinci doesn't have credentials } public function getCredentials(){ diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 01b476fb..461e24c2 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -287,4 +287,9 @@ class CourseBackend_HisInOne extends CourseBackend return $DateArray; } -}
\ No newline at end of file +} + + +$client = CourseBackend_HisInOne(); +$login = ['username'=> 'test','password'=>'test!','role'=>'SOAP']; +$client->setCredentials();
\ No newline at end of file |