ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilECSWikiSettings.php
Go to the documentation of this file.
1<?php
2
25{
26 protected function getECSObjectType(): string
27 {
28 return '/campusconnect/wikis';
29 }
30
31 protected function buildJson(ilECSSetting $a_server)
32 {
33 $json = $this->getJsonCore('application/ecs-wiki');
34
35 $json->availability = $this->content_obj->getOnline() ? 'online' : 'offline';
36
37 return $json;
38 }
39}
Handles object exports to ECS.
getJsonCore(string $a_etype)
Build core json structure.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getECSObjectType()
Get ECS resource identifier, e.g.
buildJson(ilECSSetting $a_server)
Build resource-specific json.