ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilECSGlossarySettings.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once 'Services/WebServices/ECS/classes/class.ilECSObjectSettings.php';
6 
16 {
17  protected function getECSObjectType()
18  {
19  return '/campusconnect/glossaries';
20  }
21 
22  protected function buildJson(ilECSSetting $a_server)
23  {
24  $json = $this->getJsonCore('application/ecs-glossary');
25 
26  $json->availability = $this->content_obj->getOnline() ? 'online' : 'offline';
27 
28  return $json;
29  }
30 }
31 
32 ?>