ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilECSLearningModuleSettings.php
Go to the documentation of this file.
1 <?php
2 
25 {
26  protected function getECSObjectType(): string
27  {
28  return '/campusconnect/learningmodules';
29  }
30 
31  protected function buildJson(ilECSSetting $a_server)
32  {
33  $json = $this->getJsonCore('application/ecs-learningmodule');
34 
35  $json->availability = $this->content_obj->getOfflineStatus() ? 'offline' : 'online';
36 
37  return $json;
38  }
39 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getJsonCore(string $a_etype)
Build core json structure.
Handles object exports to ECS.