ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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...
buildJson(ilECSSetting $a_server)
Build resource-specific json.
getECSObjectType()
Get ECS resource identifier, e.g.
Handles object exports to ECS.
getJsonCore(string $a_etype)
Build core json structure.