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