navigate through workshops courses back and forth
This commit is contained in:
@@ -79,6 +79,7 @@ class CATC extends Main
|
||||
'success' => self::SUCCESS,
|
||||
'context' => $this->asContext,
|
||||
'cookie' => Auth::USER_COOKIE_PASS,
|
||||
'workshops' => (new Course($this->oDb))->getWorkshops(),
|
||||
'courses' => (new Course($this->oDb))->getCourses()
|
||||
),
|
||||
'vars' => $this->getVars()
|
||||
@@ -117,12 +118,6 @@ class CATC extends Main
|
||||
return $this->oAuth->checkApiKey($sApiKey);
|
||||
}
|
||||
|
||||
/* Workshops / Courses */
|
||||
|
||||
public function getWorkshops() {
|
||||
return self::getJsonResult(true, '', (new Course($this->oDb))->getWorkshops());
|
||||
}
|
||||
|
||||
/* Notes*/
|
||||
|
||||
public function getNote($iCourseId) {
|
||||
|
||||
Reference in New Issue
Block a user