ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilECSTestSettings.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once 'Services/WebServices/ECS/classes/class.ilECSObjectSettings.php';
5
15{
16 protected function getECSObjectType()
17 {
18 return '/campusconnect/tests';
19 }
20
21 protected function buildJson(ilECSSetting $a_server)
22 {
23 $json = $this->getJsonCore('application/ecs-test');
24
25 // $json->status = $this->content_obj->isActivated() ? 'online' : 'offline';
26
27 return $json;
28 }
29}
30
31?>
Handles object exports to ECS.
getJsonCore($a_etype)
Build core json structure.
Class ilECSTestSettings.
buildJson(ilECSSetting $a_server)
Build resource-specific json.
getECSObjectType()
Get ECS resource identifier, e.g.