ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilECSGroupSettings.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
5include_once 'Services/WebServices/ECS/classes/class.ilECSObjectSettings.php';
6
16{
17 protected function getECSObjectType()
18 {
19 return '/campusconnect/groups';
20 }
21
22 protected function buildJson(ilECSSetting $a_server)
23 {
24 $json = $this->getJsonCore('application/ecs-group');
25
26 // $json->status = $this->content_obj->isActivated() ? 'online' : 'offline';
27
28 return $json;
29 }
30}
31
32?>
Class ilECSGroupSettings.
getECSObjectType()
Get ECS resource identifier, e.g.
buildJson(ilECSSetting $a_server)
Build resource-specific json.
Handles object exports to ECS.
getJsonCore($a_etype)
Build core json structure.