ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilECSGlossarySettings.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
11 {
12  protected function getECSObjectType()
13  {
14  return '/campusconnect/glossaries';
15  }
16 
17  protected function buildJson(ilECSSetting $a_server)
18  {
19  $json = $this->getJsonCore('application/ecs-glossary');
20 
21  $json->availability = $this->content_obj->getOnline() ? 'online' : 'offline';
22 
23  return $json;
24  }
25 }
buildJson(ilECSSetting $a_server)
getJsonCore($a_etype)
Build core json structure.
Handles object exports to ECS.
Class ilECSGlossarySettings.