ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
class.ilECSFileSettings.php
Go to the documentation of this file.
1<?php
2
28{
29 protected function getECSObjectType(): string
30 {
31 return '/campusconnect/files';
32 }
33
34 protected function buildJson(ilECSSetting $a_server)
35 {
36 $json = $this->getJsonCore('application/ecs-file');
37 $json->version = $this->content_obj->getVersion();
38 $json->version_date = time();
39
40 return $json;
41 }
42}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
buildJson(ilECSSetting $a_server)
Build resource-specific json.
getECSObjectType()
Get ECS resource identifier, e.g.
Handles object exports to ECS.
getJsonCore(string $a_etype)
Build core json structure.